-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
74 lines (74 loc) · 2.07 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
{
"name": "spust-root",
"private": true,
"license": "MIT",
"scripts": {
"build": "lerna run build",
"flow": "flow check",
"format": "eslint packages --fix",
"lerna": "lerna",
"lerna-changelog": "lerna-changelog",
"lint": "eslint packages",
"precommit": "lint-staged",
"test": "NODE_ENV=test jest --runInBand",
"test:watch": "NODE_ENV=test jest --runInBand --watch"
},
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-eslint": "^7.2.3",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"babel-plugin-transform-object-rest-spread": "^6.23.0",
"babel-preset-env": "^1.6.0",
"babel-preset-react": "^6.24.1",
"enzyme": "^2.9.1",
"eslint": "^4.4.1",
"eslint-config-prettier": "^2.3.0",
"eslint-config-react-app": "^2.0.0",
"eslint-plugin-flowtype": "^2.35.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-jsx-a11y": "^5.1.1",
"eslint-plugin-prettier": "^2.2.0",
"eslint-plugin-react": "^7.2.1",
"flow-bin": "^0.52.0",
"husky": "^0.14.3",
"jest": "^20.0.4",
"lerna": "^2.0.0",
"lerna-changelog": "^0.6.0",
"lint-staged": "^4.0.3",
"prettier": "^1.5.3",
"react": "^15.6.1",
"react-dom": "^15.6.1",
"react-test-renderer": "^15.6.1",
"react-test-utils": "^0.0.1"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx}"
],
"testMatch": [
"<rootDir>/packages/**/src/**/__tests__/**/*.js?(x)",
"<rootDir>/packages/**/src/**/*.(spec|test).js?(x)",
"<rootDir>/packages/**/tests/**/*.(spec|test).js?(x)"
],
"testPathIgnorePatterns": [
"bundle",
"node_modules",
"scripts",
"flow\\.test\\.(js|jsx)$"
],
"transform": {
"^.+\\.(js|jsx)$": "<rootDir>/packages/spust/src/jest/babelTransform"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$"
]
},
"lint-staged": {
"**/src/**/*.js": [
"eslint --fix",
"git add"
]
}
}