-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathpackage.json
84 lines (84 loc) · 2.57 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
{
"private": true,
"name": "flowtip-packages",
"scripts": {
"build": "npm run build:compile && npm run build:types",
"build:compile": "npm run clean && npx lerna exec -- 'rollup --config ${LERNA_ROOT_PATH}/rollup.config.js'",
"build:flowtype": "npx lerna exec -- 'for file in $(find ./types -name *.d.ts -type f | sed \"s|^\\./types||\"); do mkdir -p `dirname ./${file}` && flowgen ./types/${file} -o .${file/.d.ts/.flow.js}; done;'",
"build:types": "npx lerna exec -- 'tsc --emitDeclarationOnly'",
"clean": "npx lerna exec rimraf ./**/*.js ",
"format": "npx prettier --write '**/*.tsx'",
"prepare": "npx lerna bootstrap && npm run build",
"test": "npm run test:lint && npm run test:spec && npm run test:types",
"test:lint": "NODE_ENV=test npx eslint .",
"test:spec": "NODE_ENV=test npx jest --runInBand=${SPEC_SERIAL:-$CI} --coverage=${SPEC_COVERAGE:-$CI}",
"test:spec:watch": "NODE_ENV=test npm run spec -- --watch",
"test:types": "NODE_ENV=test npx lerna exec -- 'tsc --noEmit --project .'"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.3.4",
"@babel/plugin-proposal-class-properties": "7.3.4",
"@babel/plugin-transform-modules-commonjs": "7.2.0",
"@babel/preset-env": "7.3.4",
"@babel/preset-react": "7.0.0",
"@babel/preset-typescript": "7.3.3",
"@types/react": "16.8.5",
"babel-core": "7.0.0-bridge.0",
"babel-jest": "24.1.0",
"babel-plugin-module-resolver": "3.2.0",
"enzyme": "3.9.0",
"enzyme-adapter-react-16": "1.10.0",
"eslint": "5.14.1",
"eslint-config-metalab": "10.0.0",
"eslint-plugin-prettier": "3.0.1",
"flowgen": "1.5.8",
"jest": "24.1.0",
"lerna": "3.13.1",
"ncp": "2.0.0",
"prettier": "1.16.4",
"react": "16.8.3",
"react-dom": "16.8.3",
"regenerator-runtime": "0.13.1",
"rimraf": "2.6.3",
"rollup": "1.2.4",
"rollup-plugin-babel": "4.3.2",
"rollup-plugin-commonjs": "9.2.1",
"rollup-plugin-node-resolve": "4.0.1",
"typescript": "3.3.3333"
},
"devEngines": {
"node": "9",
"npm": "5"
},
"jest": {
"modulePathIgnorePatterns": [
"lib/"
],
"coveragePathIgnorePatterns": [
"__test__/"
],
"testMatch": [
"**/*.test.tsx"
],
"transform": {
"^.+\\.(t|j)sx?$": "babel-jest"
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx"
],
"setupFiles": [
"./__test__/setup.js"
],
"testURL": "http://localhost"
},
"browserslist": [
"last 2 versions",
"safari >= 7",
"ie >= 10",
"> 1%"
]
}