forked from formatjs/formatjs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
119 lines (119 loc) · 3.78 KB
/
package.json
File metadata and controls
119 lines (119 loc) · 3.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"name": "formatjs-repo",
"version": "1.0.0",
"private": true,
"description": "This repository is the home of FormatJS and related libraries.",
"repository": {
"type": "git",
"url": "https://github.com/formatjs/formatjs"
},
"scripts": {
"build": "yarn run clean && lerna run build",
"build:cjs": "tsc -b packages/*",
"dev:cjs": "tsc -b packages/* --watch",
"clean": "rimraf packages/*/*.tsbuildinfo && lerna run --parallel clean",
"cover:collect": "mkdir -p ./.nyc_output/ && for d in $(find packages -type d -name '.nyc_output' -maxdepth 2 -exec find '{}' -type f ';'); do (cp $d ./.nyc_output/); done; nyc report --reporter=lcov --report-dir=${COVERAGE_DIR:-artifacts/coverage}",
"cover": "lerna run cover --since",
"dev:test": "lerna run test --since master",
"karma:ci": "karma start karma.conf-ci.js",
"karma:local": "karma start karma.conf.js",
"lint": "eslint 'packages/*/src/**/*.ts?(x)'",
"postversion": "yarn run prettier",
"prepublishOnly": "yarn run prettier && yarn run build",
"prettier": "prettier --write '**/*.{md,ts,tsx}'",
"prettier:check": "prettier --check '**/*.{md,ts,tsx}'",
"test": "yarn run prettier:check && lerna run test && jest -c tests/jest.config.js"
},
"devDependencies": {
"@microsoft/api-extractor": "^7.7.13",
"@rollup/plugin-json": "^4.0.3",
"@types/jest": "^25.2.1",
"@typescript-eslint/eslint-plugin": "^2.29.0",
"@typescript-eslint/parser": "^2.29.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jest": "^23.8.2",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-react": "^7.19.0",
"full-icu": "^1.3.1",
"husky": "^4.2.5",
"karma": "^5.0.2",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.1.0",
"karma-mocha": "^2.0.0",
"karma-sauce-launcher": "^4.1.3",
"lerna": "^3.20.2",
"prettier": "^2.0.5",
"pretty-quick": "^2.0.1",
"rimraf": "^3.0.2",
"rollup": "^2.7.2",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-terser": "^5.3.0",
"rollup-plugin-typescript2": "^0.27.0",
"rollup-plugin-uglify": "^6.0.4",
"test262-harness": "^7.3.1",
"ts-node": "^8.9.0",
"tslib": "^1.11.1",
"typescript": "3.8"
},
"workspaces": {
"packages": [
"packages/*",
"website"
]
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint",
"prettier",
"import",
"jest"
],
"extends": [
"plugin:@typescript-eslint/recommended",
"prettier",
"prettier/@typescript-eslint",
"plugin:import/typescript"
],
"rules": {
"@typescript-eslint/camelcase": 0,
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/explicit-member-accessibility": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-non-null-assertion": 0,
"@typescript-eslint/no-object-literal-type-assertion": 0,
"@typescript-eslint/no-unused-vars": 0,
"@typescript-eslint/no-use-before-define": 0,
"import/dynamic-import-chunkname": "error",
"import/no-cycle": "error",
"import/no-duplicates": "error",
"import/no-self-import": "error",
"import/no-useless-path-segments": "error"
},
"overrides": [
{
"files": [
"*.test.ts",
"*.test.tsx"
],
"rules": {
"jest/no-focused-tests": "error"
}
}
]
},
"devEngines": {
"node": ">= 8.x",
"npm": "6.x"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
},
"author": "Seth Bertalotto <sbertal@verizonmedia.com>"
}