-
Notifications
You must be signed in to change notification settings - Fork 34
/
package.json
70 lines (70 loc) · 2.99 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
{
"name": "visual-qontract",
"version": "0.0.0",
"private": true,
"dependencies": {
"@patternfly/react-core": "^3.16.10",
"apollo-boost": "^0.4.1",
"chroma-js": "^2.1.0",
"classnames": "^2.2.6",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-patternfly-react": "^0.2.3",
"graphql": "^14.2.1",
"lodash.orderby": "^4.6.0",
"ncp": "^2.0.0",
"numeral": "^2.0.6",
"patternfly-react": "^2.33.0",
"prop-types": "^15.7.2",
"react": "^16.8.6",
"react-apollo": "^2.5.3",
"react-dom": "^16.8.6",
"react-markdown": "^8.0.3",
"react-router": "^5.0.0",
"react-router-dom": "^5.0.0",
"react-scripts": "2.1.8",
"react-select": "^3.1.0",
"react-tooltip": "^4.2.21",
"recompose": "^0.30.0",
"sass": "^1.32.8",
"sortabular": "^1.6.0",
"table-resolver": "^4.1.1"
},
"devDependencies": {
"eslint-config-airbnb": "^17.1.0",
"npm-run-all": "^4.1.3",
"prettier": "^1.14.2",
"source-map-explorer": "^1.5.0"
},
"sassIncludes": {
"src": "--load-path src",
"patternflyReact": "--load-path node_modules/patternfly-react/dist/sass",
"patternfly": "--load-path node_modules/patternfly/dist/sass",
"bootstrap": "--load-path node_modules/bootstrap-sass/assets/stylesheets",
"fontAwesome": "--load-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": "sass --style compressed $npm_package_sassIncludes_src $npm_package_sassIncludes_patternfly $npm_package_sassIncludes_patternflyReact $npm_package_sassIncludes_bootstrap $npm_package_sassIncludes_fontAwesome src/",
"watch-css": "yarn build-css && sass --watch --style compressed $npm_package_sassIncludes_src $npm_package_sassIncludes_patternfly $npm_package_sassIncludes_patternflyReact $npm_package_sassIncludes_bootstrap $npm_package_sassIncludes_fontAwesome src/",
"build-js": "react-scripts --openssl-legacy-provider build",
"start:dev": "npm-run-all -p watch-css start:local build-fragment",
"start:local": "react-scripts --openssl-legacy-provider start",
"build": "yarn copy-fonts && yarn copy-img && yarn build-css && yarn build-js && yarn postbuild",
"test": "yarn lint && react-scripts --openssl-legacy-provider test --env=jsdom --watchAll=false",
"eject": "react-scripts --openssl-legacy-provider 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": "yarn build-css && eslint --cache --max-warnings 0 src",
"preinstall": "node -v; npm -v;",
"postbuild": "[ \"$BUILD_ENV\" != OCP ] && exit 0; yarn install --production --ignore-scripts --prefer-offline;",
"build-fragment": "node src/fragmentTypesGenerator.js"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
}