forked from bitshares/bitshares-ui-style-guide
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
116 lines (116 loc) · 4.74 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
{
"name": "bitshares-ui-style-guide",
"version": "1.0.0",
"description": "Welcome to bitshares ui style-guide",
"main": "dist/main.js",
"jsnext:main": "app/bitshares-ui-style-guide/index.js",
"directories": {
"test": "tests"
},
"dependencies": {
"antd": "^3.15.2",
"prop-types": "^15.6.1",
"react": "^16.4.1",
"react-dom": "^16.4.1",
"react-router-dom": "^4.3.1"
},
"devDependencies": {
"babel-cli": "6.26.0",
"babel-core": "6.26.0",
"babel-eslint": "8.2.0",
"babel-jest": "22.4.1",
"babel-loader": "7.1.3",
"babel-preset-es2015": "6.24.1",
"babel-preset-react": "6.24.1",
"babel-preset-react-boilerplate": "1.1.1",
"babel-preset-react-hmre": "1.1.1",
"babel-preset-stage-2": "6.24.1",
"concurrently": "^3.6.0",
"copy-webpack-plugin": "4.3.0",
"cross-env": "5.1.4",
"css-hot-loader": "1.3.8",
"css-loader": "0.28.11",
"enzyme": "3.3.0",
"enzyme-adapter-react-16": "1.1.1",
"eslint": "4.15.0",
"eslint-config-airbnb": "16.1.0",
"eslint-loader": "2.0.0",
"eslint-plugin-import": "2.8.0",
"eslint-plugin-json": "^1.2.0",
"eslint-plugin-jsx-a11y": "6.0.3",
"eslint-plugin-react": "^7.6.0",
"extract-text-webpack-plugin": "3.0.2",
"file-loader": "1.1.10",
"html-webpack-plugin": "2.30.1",
"husky": "0.15.0-rc.2",
"jest": "22.1.0",
"less": "^3.0.1",
"less-loader": "^4.1.0",
"less-plugin-precompile-import": "git+https://github.com/gibbsfromncis/less-plugin-precompile-import.git",
"less-watch-cli": "^1.0.1",
"node-sass": "4.8.1",
"normalize.css": "^8.0.0",
"npm-watch": "^0.4.0",
"open-browser-webpack-plugin": "0.0.5",
"react-addons-test-utils": "15.6.2",
"react-hot-loader": "^4.7.0",
"react-test-renderer": "16.2.0",
"rimraf": "2.6.2",
"sass-loader": "6.0.7",
"string-replace-loader": "^2.1.1",
"style-loader": "0.20.3",
"url-loader": "1.0.0",
"webpack": "3.11.0",
"webpack-content-replacer-plugin": "^0.5.1",
"webpack-dev-server": "2.9.6"
},
"scripts": {
"theme-compile": "concurrently --kill-others \"npm run theme-compile:dark\" \"npm run theme-compile:light\" \"npm 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 \"npm run theme-watch:dark\" \"npm run theme-watch:light\" \"npm run theme-watch:midnight\"",
"build:docs": "webpack --config webpack.demopage.config.js --progress --profile --colors",
"build:dist": "webpack --config webpack.production.config.js --progress --profile --colors",
"start": "concurrently --kill-others \"npm run theme-watch\" \"npm run watch\" \"webpack-dev-server\"",
"clean:docs": "rimraf docs",
"clean:dist": "rimraf dist",
"clean": "npm run clean:docs && npm run clean:dist",
"build": "cross-env npm run clean && npm run build:docs && npm run build:dist",
"lint": "eslint ./app/**/**.js",
"test": "jest",
"test:watch": "jest --watch",
"coverage": "jest --coverage",
"watch": "npm-watch"
},
"repository": {
"type": "git",
"url": "git@github.com-gibbs:gibbsfromncis/bitshares-ui-style-guide.git"
},
"author": "",
"license": "ISC",
"jest": {
"setupFiles": [
"<rootDir>/config/jest/shim.js"
],
"collectCoverageFrom": [
"app/**/*.{js,jsx,ts,tsx}"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/config/jest/assetsTransformer.js",
"\\.(css|less)$": "<rootDir>/config/jest/assetsTransformer.js"
},
"testMatch": [
"**/?(*.)(spec|test).js?(x)"
],
"transform": {
"\\.js$": "babel-jest"
}
},
"watch": {
"theme-compile": "app/bitshares-ui-style-guide/styles/basic/theme.less"
}
}