forked from formatjs/formatjs-old
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
147 lines (147 loc) · 5.12 KB
/
package.json
File metadata and controls
147 lines (147 loc) · 5.12 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
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
{
"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:bootstrap": "lerna bootstrap",
"build:packages": "lerna run clean && lerna run build",
"build": "npm run build:bootstrap && npm run prettier && npm run build:packages",
"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": "npm run prettier",
"prepublishOnly": "npm run build",
"prettier": "prettier --write 'packages/*/{test,tests,src,scripts}/**/*.ts' 'packages/babel-plugin-react-intl/test/**/*.js' '{src,scripts,test,tests}/**/*.js' '**/*.md'",
"prettier:check": "prettier --check 'packages/*/{test,tests,src,scripts}/**/*.ts' 'packages/babel-plugin-react-intl/test/**/*.js' '{src,scripts,test,tests}/**/*.js' '**/*.md'",
"test": "lerna run lint && npm run prettier:check && cross-env TS_NODE_PROJECT=tsconfig.cjs.json lerna run test"
},
"dependencies": {},
"devDependencies": {
"@babel/cli": "^7.7.7",
"@babel/core": "^7.7.7",
"@babel/parser": "^7.7.7",
"@babel/preset-env": "^7.7.7",
"@babel/preset-react": "^7.7.4",
"@babel/types": "^7.7.4",
"@istanbuljs/nyc-config-typescript": "^0.1.3",
"@microsoft/api-extractor": "^7.7.0",
"@rollup/plugin-json": "^4.0.1",
"@types/benchmark": "^1.0.31",
"@types/chai": "^4.2.7",
"@types/eslint": "^6.1.3",
"@types/estree": "0.0.41",
"@types/estree-jsx": "0.0.0",
"@types/fs-extra": "^8.0.1",
"@types/jest": "^24.0.24",
"@types/mocha": "^5.2.7",
"@types/rimraf": "^2.0.3",
"@types/serialize-javascript": "^1.5.0",
"@typescript-eslint/eslint-plugin": "^2.13.0",
"@typescript-eslint/parser": "^2.13.0",
"babel-jest": "^24.9.0",
"benchmark": "^2.1.4",
"chai": "^4.2.0",
"cldr-core": "^36.0.0",
"coveralls": "^3.0.9",
"cross-env": "^6.0.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.7.0",
"eslint-plugin-import": "^2.19.1",
"eslint-plugin-jest": "^23.1.1",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.17.0",
"fast-memoize": "^2.5.1",
"fs-extra": "^8.1.0",
"full-icu": "^1.3.0",
"glob": "^7.1.6",
"jest": "^24.9.0",
"karma": "^4.4.1",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.1.0",
"karma-mocha": "^1.3.0",
"karma-sauce-launcher": "^2.0.2",
"lerna": "^3.19.0",
"make-plural-compiler": "^5.0.0",
"mocha": "^6.2.2",
"mocha-lcov-reporter": "^1.3.0",
"moment": "^2.8.2",
"nyc": "^14.0.0",
"pegjs": "^0.10.0",
"pre-commit": "^1.2.2",
"prettier": "^1.19.1",
"rimraf": "^3.0.0",
"rollup": "^1.27.14",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-terser": "^5.1.3",
"rollup-plugin-typescript2": "^0.25.3",
"rollup-plugin-uglify": "^6.0.4",
"serialize-javascript": "^2.1.2",
"source-map-support": "^0.5.16",
"test262-harness": "^6.4.0",
"ts-jest": "^24.2.0",
"ts-morph": "^5.0.0",
"ts-node": "^8.5.4",
"ts-pegjs": "^0.2.6",
"tslib": "^1.10.0",
"typescript": "^3.7.4"
},
"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 <sbertal@verizonmedia.com>"
}