forked from pinterest/gestalt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
104 lines (104 loc) · 2.89 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
{
"private": true,
"workspaces": [
"docs",
"packages/*",
"test"
],
"resolutions": {
"jest": "^23.1.0"
},
"dependencies": {
"react": "^16.3.2",
"react-dom": "^16.3.2"
},
"devDependencies": {
"babel-core": "^6.26.0",
"babel-eslint": "^8.2.1",
"babel-jest": "^20.0.3",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"babel-plugin-webpack-loaders": "0.9.0",
"babel-polyfill": "^6.23.0",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-1": "^6.24.1",
"benchmark": "^2.1.4",
"codecov": "^3.0.2",
"concurrently": "^3.5.1",
"danger": "^3.1.7",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^4.19.1",
"eslint-config-airbnb": "^17.0.0",
"eslint-config-postcss": "^2.0.2",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-eslint-comments": "^3.0.1",
"eslint-plugin-flowtype": "^2.50.0",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-jest": "^21.17.0",
"eslint-plugin-jsx-a11y": "^6.1.0",
"eslint-plugin-prettier": "^2.6.2",
"eslint-plugin-react": "^7.10.0",
"filesize": "^3.6.1",
"flow-bin": "0.75.0",
"husky": "^0.14.3",
"identity-obj-proxy": "^3.0.0",
"jest": "^23.1.0",
"jest-puppeteer": "^3.2.1",
"lint-staged": "^7.2.0",
"node-fetch": "^2.1.2",
"prettier": "1.10.2",
"puppeteer": "^1.4.0",
"react-test-renderer": "^16.3.2",
"shelljs": "^0.7.7",
"stylelint": "^9.3.0",
"stylelint-config-prettier": "^3.2.0",
"stylelint-config-standard": "^18.2.0",
"stylelint-order": "^0.8.1"
},
"scripts": {
"build": "cd packages/gestalt && yarn build",
"lint:js": "eslint .",
"lint:css": "stylelint \"packages/**/*.css\"",
"start": "concurrently \"cd docs && yarn start\" \"cd packages/gestalt && yarn watch\"",
"test": "jest",
"test:integration": "./run_integration_tests",
"format": "prettier --write \"{.babelrc,.eslintrc,**/*.{js,css,md}}\"",
"precommit": "lint-staged"
},
"jest": {
"projects": [
{
"displayName": "node",
"testEnvironment": "node",
"moduleNameMapper": {
"\\.(svg)$": "<rootDir>/scripts/fileMock.js",
"\\.(css)$": "identity-obj-proxy"
},
"testPathIgnorePatterns": [
"jsdom.test.js"
],
"setupTestFrameworkScriptFile": "<rootDir>scripts/setupJest.js"
},
{
"displayName": "jsdom",
"testEnvironment": "jsdom",
"moduleNameMapper": {
"\\.(svg)$": "<rootDir>/scripts/fileMock.js",
"\\.(css)$": "identity-obj-proxy"
},
"setupTestFrameworkScriptFile": "<rootDir>scripts/setupJest.js"
}
]
},
"lint-staged": {
"*.js": [
"eslint",
"jest --findRelatedTests"
],
"*.css": [
"stylelint"
]
}
}