forked from santiment/san-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
99 lines (99 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
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
{
"name": "san-ui",
"version": "0.5.1",
"author": "Santiment",
"repository": {
"type": "git",
"url": "https://github.com/santiment/san-ui.git"
},
"scripts": {
"storybook": "start-storybook -p 6006",
"start": "PORT=3000 node server/index.js",
"clean": "rimraf lib-build",
"test:js": "jest",
"test": "yarn test:js",
"scripts": "node scripts/copy-files && node scripts/update-version",
"lib-publish": "yarn publish lib-build --patch --no-git-tag-version",
"build:storybook": "build-storybook -o build",
"copy-readme": "cp -r ./README.md lib-build/README.md",
"build:babel": "NODE_ENV=production babel ./src --out-dir ./lib-build --ignore \"**/*.spec.js\"",
"build:lib": "yarn clean && yarn scripts && yarn build:babel && yarn copy-readme",
"build": "yarn clean && yarn build:storybook",
"docker-dev": "docker-compose build frontend && docker-compose run --service-ports frontend"
},
"dependencies": {
"@babel/cli": "^7.2.0",
"@babel/core": "^7.2.0",
"@babel/plugin-proposal-class-properties": "^7.2.1",
"@babel/plugin-proposal-object-rest-spread": "^7.2.0",
"@babel/plugin-transform-object-assign": "^7.2.0",
"@babel/preset-env": "^7.2.0",
"@babel/preset-react": "^7.0.0",
"babel-loader": "^8.0.4",
"css-loader": "^1.0.1",
"express": "^4.16.4",
"glob": "^7.1.3",
"node-sass": "^4.12.0",
"prop-types": "^15.7.2",
"rimraf": "^2.6.2",
"sass-loader": "^7.1.0",
"storybook": "^1.0.0",
"style-loader": "^0.23.1",
"uglifyjs-webpack-plugin": "^2.0.1",
"webpack": "^4.27.1"
},
"devDependencies": {
"@storybook/addon-actions": "^4.0.12",
"@storybook/addon-info": "^4.1.3",
"@storybook/addon-links": "^4.0.12",
"@storybook/addon-viewport": "^4.1.3",
"@storybook/react": "^4.0.12",
"enzyme": "^3.8.0",
"enzyme-adapter-react-16": "^1.7.1",
"enzyme-to-json": "^3.3.5",
"husky": "^1.3.1",
"identity-obj-proxy": "^3.0.0",
"lint-staged": "^8.1.5",
"mini-css-extract-plugin": "^0.5.0",
"optimize-css-assets-webpack-plugin": "^5.0.1",
"prettier-standard": "^9.1.1",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-scripts": "^2.1.1",
"react-select": "^5.2.1",
"react-select-virtualized": "^4.2.0",
"react-virtualized": "^9.22.3",
"react-window": "^1.8.5",
"stylefmt": "^6.0.3",
"stylelint": "^9.10.1",
"stylelint-config-recommended-scss": "^3.2.0",
"stylelint-config-standard": "^18.2.0",
"stylelint-scss": "^3.5.4",
"webpack-cli": "^3.1.2"
},
"jest": {
"setupTestFrameworkScriptFile": "<rootDir>/jest/setupTests.js",
"moduleNameMapper": {
"\\.(css|sass|scss)$": "identity-obj-proxy"
}
},
"lint-staged": {
"linters": {
"*.js": [
"yarn prettier-standard",
"git add"
],
"*.{sass,scss,css}": [
"yarn stylefmt",
"yarn stylelint src/*{sass,scss} --syntax scss --fix",
"git add"
]
}
},
"husky": {
"hooks": {
"pre-commit": "yarn lint-staged",
"pre-push": "yarn test"
}
}
}