forked from strapi/buffet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
87 lines (87 loc) · 2.55 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
{
"name": "buffetjs-monorepo",
"private": true,
"scripts": {
"setup": "yarn && yarn build",
"build": "lerna run --stream build --no-private",
"lint": "npm-run-all -p lint:code",
"lint:code": "eslint .",
"format": "npm-run-all -p format:*",
"format:code": "npm run prettier:code -- --write",
"prettier:code": "prettier \"**/*.js\"",
"pretest": "npm run test:clean && lerna run --stream lint",
"test:clean": "rimraf ./coverage",
"test": "cross-env NODE_ENV=test jest --coverage",
"test:watch": "cross-env NODE_ENV=test jest --watchAll",
"test:update": "cross-env NODE_ENV=test jest -u",
"watch": "cross-env NODE_ENV=development && lerna run --stream --parallel watch --no-private --concurrency 999"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.2.2",
"@babel/plugin-proposal-class-properties": "^7.3.0",
"@babel/preset-env": "^7.3.1",
"@babel/preset-react": "^7.0.0",
"@testing-library/jest-dom": "^5.1.1",
"@testing-library/react": "^9.4.0",
"@testing-library/react-hooks": "^3.2.1",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.5",
"cross-env": "^5.1.3",
"css-loader": "^2.1.1",
"enzyme": "^3.8.0",
"enzyme-adapter-react-16": "^1.8.0",
"enzyme-to-json": "^3.3.5",
"eslint": "^5.12.1",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^4.1.0",
"eslint-plugin-import": "^2.15.0",
"eslint-plugin-jest": "^22.1.3",
"eslint-plugin-jsx-a11y": "^6.2.0",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-react": "7.12.3",
"eslint-plugin-react-hooks": "^4.0.4",
"execa": "^3.1.0",
"file-loader": "^3.0.1",
"fs-extra": "^8.1.0",
"husky": "^1.3.1",
"jest": "^24.3.1",
"jest-cli": "^24.3.1",
"jest-styled-components": "^7.0.0",
"lerna": "^3.16.4",
"lint-staged": "^9.4.0",
"node-sass": "^4.12.0",
"npm-run-all": "^4.1.5",
"prettier": "^1.16.1",
"pretty-quick": "^1.10.0",
"react-test-renderer": "^16.13.1",
"rimraf": "^2.6.2",
"sass-loader": "^7.0.3",
"storybook-react-router": "^1.0.5",
"style-loader": "^0.23.1",
"svg-inline-loader": "^0.8.0",
"svg-loader": "0.0.2",
"svg-url-loader": "^2.3.2"
},
"workspaces": [
"packages/*",
"docs",
"website"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,md,css,scss,yaml,yml}": [
"prettier --write",
"git add"
],
"*.js": [
"eslint --fix",
"git add"
]
}
}