This repository has been archived by the owner on May 4, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 53
/
Copy pathpackage.json
149 lines (149 loc) · 5.13 KB
/
package.json
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
{
"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)' --fix",
"postversion": "yarn run prettier",
"prepublishOnly": "yarn run prettier && yarn run build",
"prettier": "prettier --write 'packages/*/{test,tests,src,scripts}/**/*.ts' 'website/**/*.js' 'packages/babel-plugin-react-intl/test/**/*.js' '**/*.md'",
"prettier:check": "prettier --check 'packages/*/{test,tests,src,scripts}/**/*.ts' 'website/**/*.js' 'packages/babel-plugin-react-intl/test/**/*.js' '**/*.md'",
"test": "lerna run lint && yarn run prettier:check && lerna run --parallel test && jest -c tests/jest.config.js"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.0",
"@babel/parser": "^7.9.4",
"@babel/preset-env": "^7.9.5",
"@babel/preset-react": "^7.9.4",
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@microsoft/api-extractor": "^7.7.13",
"@rollup/plugin-json": "^4.0.3",
"@types/benchmark": "^1.0.31",
"@types/chai": "^4.2.11",
"@types/eslint": "^6.8.0",
"@types/estree": "0.0.44",
"@types/estree-jsx": "0.0.0",
"@types/fs-extra": "^8.1.0",
"@types/jest": "^25.2.1",
"@types/mocha": "^7.0.2",
"@types/rimraf": "^3.0.0",
"@types/serialize-javascript": "^1.5.0",
"@typescript-eslint/eslint-plugin": "^2.29.0",
"@typescript-eslint/parser": "^2.29.0",
"@yarnpkg/pnpify": "^2.0.0-rc.21",
"babel-jest": "^25.4.0",
"benchmark": "^2.1.4",
"chai": "^4.2.0",
"cldr-core": "^36.0.0",
"coveralls": "^3.0.14",
"cross-env": "^7.0.2",
"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",
"fast-memoize": "^2.5.2",
"fs-extra": "^9.0.0",
"full-icu": "^1.3.1",
"glob": "^7.1.6",
"jest": "^25.4.0",
"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",
"make-plural-compiler": "^5.1.0",
"mocha": "^7.1.1",
"mocha-lcov-reporter": "^1.3.0",
"nyc": "^15.0.1",
"pegjs": "^0.10.0",
"pre-commit": "^1.2.2",
"prettier": "^2.0.5",
"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",
"serialize-javascript": "^3.0.0",
"source-map-support": "^0.5.18",
"test262-harness": "^7.3.1",
"ts-jest": "^25.4.0",
"ts-morph": "^6.0.0",
"ts-node": "^8.9.0",
"ts-pegjs": "^0.2.6",
"tslib": "^1.11.1",
"typescript": "3.8"
},
"workspaces": [
"packages/*"
],
"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"
},
"pre-commit": [
"prettier"
],
"author": "Seth Bertalotto <[email protected]>"
}