forked from chartshq/muze
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
102 lines (102 loc) · 3.69 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
{
"name": "muze-monorepo",
"private": true,
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.2.2",
"@babel/preset-env": "^7.2.3",
"autoprefixer": "^9.1.1",
"axios": "^0.18.0",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.4",
"chai": "3.5.0",
"chalk": "^2.4.2",
"commander": "^2.19.0",
"cross-env": "^5.0.5",
"css-loader": "^0.28.11",
"dotenv": "^7.0.0",
"ejs": "^2.6.1",
"es6-promisify": "^6.0.1",
"eslint": "3.19.0",
"eslint-config-airbnb": "15.1.0",
"eslint-plugin-import": "2.7.0",
"eslint-plugin-jsx-a11y": "5.1.1",
"eslint-plugin-react": "7.3.0",
"extract-text-webpack-plugin": "^4.0.0-beta.0",
"form-data": "^2.3.3",
"fs-extra": "^7.0.1",
"http-status-codes": "^1.3.2",
"istanbul-instrumenter-loader": "^3.0.0",
"jsdoc": "^3.5.5",
"json2yaml": "^1.1.0",
"karma": "1.7.1",
"karma-chai": "0.1.0",
"karma-chrome-launcher": "2.1.1",
"karma-coverage-istanbul-reporter": "^1.3.0",
"karma-mocha": "1.3.0",
"karma-sourcemap-loader": "^0.3.7",
"karma-spec-reporter": "0.0.31",
"karma-webpack": "^3.0.4",
"lerna": "^3.0.4",
"mini-css-extract-plugin": "^0.4.1",
"mocha": "3.4.2",
"mocha-webpack": "0.7.0",
"node-sass": "^4.9.0",
"optimize-css-assets-webpack-plugin": "^5.0.0",
"ora": "^3.2.0",
"postcss-loader": "^3.0.0",
"prompt": "^1.0.0",
"rimraf": "^2.6.2",
"sass-loader": "^7.0.1",
"semver": "^5.6.0",
"shelljs": "^0.8.3",
"style-loader": "^0.21.0",
"transform-runtime": "0.0.0",
"uglifyjs-webpack-plugin": "^1.2.7",
"uuid": "^3.3.2",
"webpack": "^4.12.0",
"webpack-bundle-analyzer": "^2.13.1",
"webpack-cli": "^3.0.7",
"webpack-dev-server": "^3.1.14",
"yamljs": "^0.3.0"
},
"scripts": {
"test": "npm run lint && npm run ut",
"ut": "./scripts/test-runner.sh '*'",
"ut:layout": "./scripts/test-runner.sh layout",
"ut:muze": "./scripts/test-runner.sh muze",
"ut:axis": "./scripts/test-runner.sh muze-axis",
"ut:firebolt": "./scripts/test-runner.sh muze-firebolt",
"ut:legend": "./scripts/test-runner.sh muze-legend",
"ut:tooltip": "./scripts/test-runner.sh muze-tooltip",
"ut:utils": "./scripts/test-runner.sh muze-utils",
"ut:transform": "./scripts/test-runner.sh transform",
"ut:cell": "./scripts/test-runner.sh visual-cell",
"ut:group": "./scripts/test-runner.sh visual-group",
"ut:layer": "./scripts/test-runner.sh visual-layer",
"ut:unit": "./scripts/test-runner.sh visual-unit",
"clean": "rimraf ./dist",
"copy-dist": "cp -R dist packages/muze/npm/",
"copy-rdm": "cp README.md packages/muze/ && cp README.md packages/muze/npm/",
"build:prod": "npm run clean && webpack --mode production && npm run copy-dist && npm run copy-rdm",
"build:dev": "npm run clean && webpack --mode development && npm run copy-dist && npm run copy-rdm",
"build": "npm run build:prod",
"start:prod": "webpack-dev-server --host 0.0.0.0 --open --mode production --config webpack.config.js",
"start:dev": "webpack-dev-server --host 0.0.0.0 --mode development --config webpack.config.dev.js",
"start": "npm run start:dev",
"lint": "eslint ./packages",
"lint-errors": "eslint --quiet ./packages",
"docs": "rm -rf yaml && mkdir yaml && jsdoc -c jsdoc.conf.json",
"autotest:prod": "node scripts/run-autotest.js --mode production",
"autotest:dev": "node scripts/run-autotest.js --mode development",
"autotest": "npm run autotest:dev",
"upload": "node scripts/upload-build.js",
"postinstall": "lerna bootstrap"
},
"browserslist": [
"last 10 major versions",
"not dead",
"Firefox ESR",
"ie >= 11"
]
}