-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
94 lines (94 loc) · 2.74 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
{
"name": "boilerplate",
"version": "1.0.0",
"description": "Another opinionated boilerplate for building web apps",
"main": "src/index.js",
"repository": "https://github.com/albertfdp/boilerplate",
"author": "Albert Fernández <albert@nandez.cat>",
"license": "MIT",
"scripts": {
"build": "NODE_ENV=production webpack --progress",
"format:js": "prettier --write {config,src,test}/**/*.js",
"format": "yarn run format:js",
"lint:css": "stylelint src/**/*.css",
"lint:js": "eslint {config,src,test}/**/*.js",
"lint": "yarn run lint:js && yarn run lint:css",
"precommit": "lint-staged",
"start": "webpack-serve",
"storybook": "start-storybook -p 9001 -c .storybook",
"test:watch": "jest --watch",
"test": "jest",
"travis": "yarn run format && yarn run lint && yarn run test"
},
"devDependencies": {
"@babel/core": "7.0.1",
"@babel/plugin-proposal-class-properties": "7.0.0",
"@babel/plugin-proposal-export-default-from": "7.0.0",
"@babel/plugin-proposal-export-namespace-from": "7.0.0",
"@babel/preset-env": "7.0.0",
"@babel/preset-react": "7.0.0",
"@storybook/react": "3.4.10",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "9.0.0",
"babel-jest": "23.6.0",
"babel-loader": "8.0.2",
"babel-plugin-module-resolver": "3.1.1",
"css-loader": "1.0.0",
"eslint": "5.5.0",
"eslint-config-prettier": "3.0.1",
"eslint-plugin-jsx-a11y": "6.1.1",
"file-loader": "2.0.0",
"html-webpack-plugin": "3.2.0",
"husky": "0.14.3",
"identity-obj-proxy": "3.0.0",
"jest": "23.6.0",
"lint-staged": "7.2.2",
"mini-css-extract-plugin": "0.4.2",
"optimize-css-assets-webpack-plugin": "5.0.1",
"postcss-cssnext": "3.1.0",
"postcss-import": "12.0.0",
"postcss-loader": "3.0.0",
"prettier": "1.14.2",
"raf": "^3.4.0",
"react": "16.5.0",
"react-dom": "16.5.0",
"react-svg-loader": "2.1.0",
"react-test-renderer": "16.5.0",
"style-loader": "0.23.0",
"styled-components": "3.4.6",
"stylelint": "9.5.0",
"stylelint-config-standard": "18.2.0",
"uglifyjs-webpack-plugin": "1.3.0",
"unexpected": "10.39.0",
"unexpected-react": "5.0.1",
"url-loader": "1.1.1",
"webpack": "4.18.0",
"webpack-cli": "3.1.0",
"webpack-serve": "2.0.2",
"webpack-subresource-integrity": "1.1.0-rc.5"
},
"jest": {
"moduleNameMapper": {
"\\.css$": "<rootDir>/test/stubs/styles.js"
},
"transform": {
"^.+\\.js$": "babel-jest"
},
"testRegex": "\\.*(spec\\.js)$",
"setupFiles": [
"raf/polyfill"
]
},
"lint-staged": {
"*.js": [
"prettier",
"eslint",
"git add"
],
"*.css": [
"prettier",
"stylelint",
"git add"
]
}
}