forked from pinterest/gestalt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
100 lines (100 loc) · 2.87 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
{
"private": true,
"workspaces": [
"docs",
"packages/*"
],
"resolutions": {
"jest": "^23.1.0"
},
"dependencies": {
"react": "^16.8.5",
"react-dom": "^16.8.5"
},
"devDependencies": {
"babel-core": "^6.26.0",
"babel-eslint": "9.0.0",
"babel-jest": "^23.4.0",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-transform-flow-strip-types": "^6.22.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": "6.1.12",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.14.0",
"eslint": "5.6.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^5.0.0",
"eslint-plugin-eslint-comments": "^3.1.2",
"eslint-plugin-flowtype": "^3.10.5",
"eslint-plugin-import": "^2.17.3",
"eslint-plugin-jest": "^22.7.1",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-react": "^7.13.0",
"eslint-plugin-react-hooks": "^1.6.0",
"filesize": "^3.6.1",
"flow-bin": "^0.101.0",
"husky": "^0.14.3",
"identity-obj-proxy": "^3.0.0",
"jest": "^23.1.0",
"lint-staged": "^7.2.0",
"prettier": "1.13.7",
"react-test-renderer": "^16.8.5",
"shelljs": "^0.8.2",
"stylelint": "^9.6.0",
"stylelint-config-prettier": "^4.0.0",
"stylelint-config-standard": "^18.2.0",
"stylelint-order": "^1.0.0"
},
"scripts": {
"build": "cd packages/gestalt && yarn build",
"lint:js": "eslint .",
"lint:css": "stylelint \"packages/**/*.css\"",
"greenkeeper-lockfile-update": "greenkeeper-lockfile-update",
"greenkeeper-lockfile-upload": "greenkeeper-lockfile-upload",
"start": "concurrently \"cd docs && yarn start\" \"cd packages/gestalt && yarn watch\"",
"test": "./scripts/test.sh",
"test:integration": "./run_integration_tests",
"format": "prettier --write \"{.babelrc.json,.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"
]
}
}