forked from priley86/treeshake-demo-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
52 lines (52 loc) · 1.93 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
{
"name": "demo-app",
"version": "0.1.0",
"private": true,
"dependencies": {
"classnames": "^2.2.5",
"patternfly-react": "^2.7.0",
"react": "^16.4.0",
"react-dom": "^16.4.0",
"react-redux": "^5.0.6",
"react-router": "^4.3.1",
"react-router-dom": "^4.2.2",
"react-scripts": "file:./react-scripts",
"redux": "^3.7.2",
"source-map-explorer": "^1.5.0"
},
"devDependencies": {
"node-sass-chokidar": "^1.3.0",
"prettier": "^1.12.1"
},
"sassIncludes": {
"src": "--include-path src",
"patternflyReact": "--include-path node_modules/patternfly-react/dist/sass",
"patternfly": "--include-path node_modules/patternfly/dist/sass",
"bootstrap": "--include-path node_modules/bootstrap-sass/assets/stylesheets",
"fontAwesome": "--include-path node_modules/font-awesome-sass/assets/stylesheets"
},
"scripts": {
"copy-fonts": "cp -r node_modules/patternfly/dist/fonts src/",
"copy-img": "cp -r node_modules/patternfly/dist/img src/",
"build-css": "node-sass-chokidar src/App.scss --output-style compressed $npm_package_sassIncludes_src $npm_package_sassIncludes_patternfly $npm_package_sassIncludes_patternflyReact $npm_package_sassIncludes_bootstrap $npm_package_sassIncludes_fontAwesome -o src/css",
"watch-css": "npm run build-css && npm run build-css -- --watch --recursive",
"start": "react-scripts start",
"build": "npm run copy-fonts && npm run copy-img && npm run build-css && react-scripts build",
"test": "react-scripts test --env=jsdom --watch",
"eject": "react-scripts eject",
"prettier": "prettier --write --single-quote --trailing-comma=none \"src/**/*.js\"",
"analyze": "source-map-explorer build/static/js/vendors.*"
},
"browserslist": {
"development": [
"last 2 chrome versions",
"last 2 firefox versions",
"last 2 edge versions"
],
"production": [
">0.25%",
"not op_mini all",
"ie 11"
]
}
}