forked from theforeman/foreman-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
64 lines (64 loc) · 2.38 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
{
"name": "@theforeman/vendor",
"version": "13.1.0",
"description": "foreman supported 3rd-party node_modules",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/theforeman/foreman-js",
"directory": "packages/vendor"
},
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=6"
},
"main": "dist/vendor-webpack-plugin.js",
"files": [
"dist",
"docs",
"scss"
],
"scripts": {
"prebuild": "rimraf dist docs",
"postbuild": "rimraf dist/stats.development.json dist/stats.production.json",
"build": "npm run build:bundle && npm run build:plugin && npm run build:scss && npm run build:docs",
"build:bundle": "npm run build:bundle:dev && npm run build:bundle:prod",
"build:bundle:base": "node --max_old_space_size=8192 ./node_modules/.bin/webpack --config bundle/webpack.config.js",
"build:bundle:dev": "npm run build:bundle:base -- --mode=development",
"build:bundle:prod": "npm run build:bundle:base -- --mode=production",
"build:plugin": "webpack --config vendor-webpack-plugin/webpack.config.js",
"build:scss": "./scripts/build-scss.sh",
"build:docs": "npm run build:docs:analyze && npm run build:docs:scss",
"build:docs:scss": "./scripts/build-scss-docs.sh",
"build:docs:analyze": "npm run build:docs:analyze:dev && npm run build:docs:analyze:prod",
"build:docs:analyze:dev": "webpack-bundle-analyzer --mode static -r docs/stats.development.html dist/stats.development.json",
"build:docs:analyze:prod": "webpack-bundle-analyzer --mode static -r docs/stats.production.html dist/stats.production.json",
"deploy:docs": "./scripts/deploy-docs.sh",
"postpublish": "npm run deploy:docs"
},
"devDependencies": {
"@babel/core": "7.17.10",
"@babel/preset-env": "7.17.10",
"@theforeman/vendor-core": "^13.1.0",
"babel-loader": "^8.2.3",
"compression-webpack-plugin": "^6.1.1",
"copy-webpack-plugin": "^4.6.0",
"css-loader": "^3.6.0",
"file-loader": "^6.2.0",
"lodash": "^4.17.21",
"mini-css-extract-plugin": "^1.6.2",
"rimraf": "^3.0.2",
"sass": "^1.53.0",
"sass-loader": "^10.2.0",
"scss-bundle": "^3.1.0",
"url-loader": "^4.1.1",
"webpack": "^4.46.0",
"webpack-bundle-analyzer": "^4.4.2",
"webpack-cli": "^4.9.1",
"webpack-inject-plugin": "^1.5.5",
"webpack-stats-plugin": "^1.0.3"
},
"keywords": []
}