-
Notifications
You must be signed in to change notification settings - Fork 27
/
package.json
62 lines (62 loc) · 3.06 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
{
"name": "bitshares-ui-style-guide",
"version": "6.0.0",
"main": "dist/main.js",
"license": "MIT",
"description": "Bitshares UI Style Guide ",
"repository": "https://github.com/bitshares/bitshares-ui-style-guide",
"author": "Leroy Jethro Gibbs",
"dependencies": {
"antd": "^3.26.20",
"normalize.css": "^8.0.1",
"prop-types": "^15.6.1",
"react": "16.14.0",
"react-dom": "16.14.0",
"react-router-dom": "^5.1.2"
},
"devDependencies": {
"@babel/core": "^7.11.6",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/preset-env": "^7.11.5",
"@babel/preset-react": "^7.10.4",
"@hot-loader/react-dom": "^16.13.0",
"babel-loader": "^8.1.0",
"concurrently": "^5.3.0",
"css-hot-loader": "^1.4.4",
"css-loader": "^3.6.0",
"cssnano": "^4.1.10",
"file-loader": "^4.3.0",
"html-webpack-plugin": "^3.2.0",
"less": "^3.12.2",
"less-loader": "^5.0.0",
"less-watch-cli": "^1.0.1",
"mini-css-extract-plugin": "^0.8.2",
"npm-watch": "^0.7.0",
"optimize-css-assets-webpack-plugin": "^5.0.4",
"react-hot-loader": "^4.12.21",
"rimraf": "^3.0.2",
"sass-loader": "^8.0.2",
"style-loader": "^1.2.1",
"url-loader": "^2.3.0",
"webpack": "^5.94.0",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0"
},
"scripts": {
"theme-compile": "concurrently \"yarn run theme-compile:dark\" \"yarn run theme-compile:light\" \"yarn run theme-compile:midnight\"",
"theme-compile:dark": "lessc -js app/bitshares-ui-style-guide/styles/dark/dark-theme.less > app/bitshares-ui-style-guide/styles/dark/dark-theme.css",
"theme-compile:light": "lessc -js app/bitshares-ui-style-guide/styles/light/light-theme.less > app/bitshares-ui-style-guide/styles/light/light-theme.css",
"theme-compile:midnight": "lessc -js app/bitshares-ui-style-guide/styles/midnight/midnight-theme.less > app/bitshares-ui-style-guide/styles/midnight/midnight-theme.css",
"theme-watch:dark": "./node_modules/less-watch-cli/index.js app/bitshares-ui-style-guide/styles/dark/dark-theme.less app/bitshares-ui-style-guide/styles/dark/dark-theme.css",
"theme-watch:light": "./node_modules/less-watch-cli/index.js app/bitshares-ui-style-guide/styles/light/light-theme.less app/bitshares-ui-style-guide/styles/light/light-theme.css",
"theme-watch:midnight": "./node_modules/less-watch-cli/index.js app/bitshares-ui-style-guide/styles/midnight/midnight-theme.less app/bitshares-ui-style-guide/styles/midnight/midnight-theme.css",
"theme-watch": "concurrently --kill-others \"yarn run theme-watch:dark\" \"yarn run theme-watch:light\" \"yarn run theme-watch:midnight\"",
"clean:dist": "rimraf dist",
"clean:docs": "rimraf docs",
"clean": "yarn run clean:docs && yarn run clean:dist",
"start": "concurrently --kill-others \"yarn run theme-watch\" \"webpack-dev-server --config webpack.dev.config.js\"",
"build:dist": "webpack --config webpack.prod.config.js",
"build:docs": "webpack --config webpack.docs.config.js",
"build": "yarn run clean && yarn run build:dist && yarn run build:docs"
}
}