This repository has been archived by the owner on Apr 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
58 lines (58 loc) · 2.63 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
{
"name": "patternfly-react-demo-app",
"version": "0.3.0",
"private": true,
"dependencies": {
"classnames": "^2.2.5",
"lodash.orderby": "^4.6.0",
"numeral": "^2.0.6",
"patternfly-react": "^2.10.1",
"prop-types": "^15.6.2",
"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",
"recompose": "^0.26.0",
"redux": "^3.7.2",
"sortabular": "^1.5.1",
"table-resolver": "^3.2.0"
},
"devDependencies": {
"babel-eslint": "^8.2.6",
"eslint": "^4.19.1",
"eslint-plugin-patternfly-react": "^0.1.1",
"ncp": "^2.0.0",
"node-sass-chokidar": "^1.3.0",
"npm-run-all": "^4.1.3",
"prettier": "^1.14.2",
"react-scripts": "1.1.4",
"source-map-explorer": "^1.5.0"
},
"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": "ncp node_modules/patternfly/dist/fonts src/fonts",
"copy-img": "ncp node_modules/patternfly/dist/img src/img",
"build-css": "node-sass-chokidar src/ --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/",
"watch-css": "yarn build-css && node-sass-chokidar src/ --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/ --watch --recursive",
"build-js": "react-scripts build",
"start": "react-scripts start",
"start:dev": "npm-run-all -p watch-css start-js",
"build": "yarn copy-fonts && yarn copy-img && yarn build-css && yarn build-js; yarn postbuild;",
"test": "yarn lint && 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/main.*",
"lint": "yarn lint:js",
"lint:js": "eslint --max-warnings 0 src",
"docker:build": "docker build -t patternfly-react-demo-app .",
"preinstall": "node -v; npm -v;",
"postbuild": "[ \"$BUILD_ENV\" != OCP ] && exit 0; yarn install --production --ignore-scripts --prefer-offline;"
}
}