forked from juju/juju-gui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
117 lines (117 loc) · 4.04 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"author": "Juju Developers",
"name": "juju-gui",
"description": "Juju GUI build dependencies",
"version": "2.14.1",
"homepage": "http://launchpad.net/juju-gui",
"repository": {
"type": "git",
"url": "https://github.com/juju/juju-gui.git"
},
"scripts": {
"build": "webpack --config webpack.dev.js && ./scripts/version.sh",
"build-dist": "yarn run clean && yarn && yarn build && ./scripts/build-dist.js",
"build-prod": "webpack --config webpack.prod.js && ./scripts/version.sh",
"build-prod-dist": "yarn run clean && yarn && yarn build-prod && ./scripts/build-dist.js",
"clean": "rm -rf static/build node_modules webapp/__pycache__ dist/",
"watch": "webpack --config webpack.dev.js --watch",
"lint-python": "flake8 --exclude '*env*,node_modules,gui,scripts/lib' && black --line-length 79 --check --exclude '(jujugui/.*|scripts/.*|node_modules/.*|[^/]*env[0-9]?/.*)' .",
"format-python": "black --line-length 79 --exclude '(jujugui/.*|scripts/.*|node_modules/.*|[^/]*env[0-9]?/.*)' .",
"lint-js": "eslint --rulesdir eslint-rules gui/src",
"lint": "yarn run lint-js && yarn run lint-python",
"serve": "./entrypoint 0.0.0.0:$PORT",
"svg-sprite": "yarn add [email protected] && svg-sprite --dest ./static/gui/build/app/assets --stack ./static/assets/svgs/*.svg && yarn remove svg-sprite",
"test-js-old": "./scripts/test-js.sh && ./scripts/test-js-old.sh",
"test-js-ci": "jest --maxWorkers=2",
"test-js": "jest",
"test": "yarn run lint-python && yarn run lint-js && yarn run test-js"
},
"dependencies": {
"@canonical/jaaslib": "^0.6.0",
"classnames": "^2.2.6",
"clipboard": "^1.7.1",
"cryptojs": "2.5.3",
"d3": "3.5.16",
"deepmerge": "^2.2.0",
"envify": "4.1.0",
"file-saver": "1.3.8",
"graceful-fs": "4.1.11",
"js-cookie": "^2.2.0",
"js-yaml": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.9.1.tgz",
"lodash.clonedeep": "^4.5.0",
"macaroon-bakery": "0.2.0",
"marked": "^0.5.1",
"mixwith": "0.1.1",
"normalize.css": "^8.0.0",
"query-string": "^6.2.0",
"react": "^16.5.2",
"react-click-outside": "3.0.1",
"react-dnd": "^5.0.0",
"react-dnd-html5-backend": "^5.0.1",
"react-dom": "^16.5.2",
"shapeup": "0.2.5",
"vanilla-framework": "^1.8.0",
"zip": "1.2.0"
},
"devDependencies": {
"@babel/core": "^7.1.6",
"@canonical/juju-react-components": "0.5.0",
"babel-cli": "6.26.0",
"babel-jest": "^23.6.0",
"babel-loader": "^8.0.4",
"babel-minify-webpack-plugin": "^0.3.1",
"babel-plugin-rewire": "^1.2.0",
"babel-plugin-transform-react-jsx": "6.24.1",
"babel-plugin-transform-react-stateless-component-name": "^1.1.2",
"babel-preset-babili": "0.1.4",
"babel-preset-env": "^1.7.0",
"babel-preset-react": "^6.24.1",
"chai": "^4.2.0",
"css-loader": "^1.0.1",
"diff": "3.5.0",
"enzyme": "^3.6.0",
"enzyme-adapter-react-16": "^1.5.0",
"enzyme-to-json": "^3.3.4",
"eslint": "^5.6.1",
"eslint-plugin-react": "^7.11.1",
"expect.js": "0.3.1",
"husky": "^1.1.3",
"inject-loader": "^4.0.1",
"jasmine-core": "^3.2.1",
"jest": "^23.6.0",
"karma": "^3.0.0",
"karma-chai-sinon": "0.1.5",
"karma-chrome-launcher": "2.2.0",
"karma-jasmine": "2.0.1",
"karma-mocha": "1.3.0",
"karma-spec-reporter": "0.0.32",
"karma-webpack": "^3.0.5",
"keysim": "^2.1.0",
"mini-css-extract-plugin": "^0.4.5",
"mkdirp": "0.5.1",
"mocha": "^5.2.0",
"mutation-observer": "^1.0.3",
"node-sass": "^4.10.0",
"optimize-css-assets-webpack-plugin": "^5.0.1",
"prettier": "1.15.1",
"pretty-quick": "^1.8.0",
"prop-types": "^15.6.2",
"react-test-renderer": "^16.5.2",
"sass-lint": "1.12.1",
"sass-loader": "^7.1.0",
"should": "^13.2.3",
"sinon": "^6.3.5",
"sinon-chai": "^3.2.0",
"webpack": "^4.26.0",
"webpack-cli": "^3.1.2",
"webpack-merge": "^4.1.4"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
},
"browserslist": [
"last 1 Chrome version"
]
}