forked from Doist/reactist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
110 lines (110 loc) · 4.18 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
{
"name": "@doist/reactist",
"version": "1.22.05",
"description": "Open source React components by Doist",
"main": "./dist/reactist.js",
"scripts": {
"build": "NODE_ENV=production ./node_modules/.bin/webpack --progress --color",
"build-watch": "npm run build -- --watch",
"check": "./node_modules/.bin/eslint . --ext .js --ext .jsx",
"test": "./node_modules/.bin/jest",
"test-watch": "npm run test -- --watch --coverage",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook -o docs",
"build-all": "npm run build && npm run build-storybook",
"analyze-bundle": "(TIMESTAMP=`date +%Y-%m-%d_%H-%M-%S`; NODE_ENV=production; ./node_modules/.bin/webpack --mode production --json --progress --profile > webpack-build-log.$TIMESTAMP.json && ./node_modules/.bin/webpack-bundle-analyzer webpack-build-log.$TIMESTAMP.json dist)",
"prepare-release": "rm -rf node_modules package-lock && npm install && npm run check && npm run test && npm run build-all",
"prettify": "prettier --write \"./**/*.{js,jsx,ts,tsx,json,css,scss,less,md}\""
},
"repository": "git+https://github.com/Doist/reactist.git",
"author": "Henning Muszynski <[email protected]> (http://doist.com)",
"license": "MIT",
"homepage": "https://github.com/Doist/reactist#readme",
"devDependencies": {
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-proposal-export-default-from": "^7.0.0",
"@babel/plugin-proposal-export-namespace-from": "^7.0.0",
"@babel/plugin-transform-spread": "^7.0.0",
"@babel/polyfill": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.0.0",
"@storybook/addon-actions": "^4.0.0-alpha.21",
"@storybook/addon-info": "^4.0.0-alpha.21",
"@storybook/addon-knobs": "^4.0.0-alpha.21",
"@storybook/addon-links": "^4.0.0-alpha.21",
"@storybook/addon-options": "^4.0.0-alpha.21",
"@storybook/react": "^4.0.0-alpha.21",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^9.0.0",
"babel-loader": "^8.0.2",
"classnames": "^2.2.5",
"css-loader": "^1.0.0",
"dayjs": "^1.8.10",
"enzyme": "^3.6.0",
"enzyme-adapter-react-16": "^1.5.0",
"enzyme-to-json": "^3.3.4",
"eslint": "^5.5.0",
"eslint-config-prettier": "^3.0.1",
"eslint-loader": "^2.1.0",
"eslint-plugin-jest": "^21.22.0",
"eslint-plugin-prettier": "^2.6.2",
"eslint-plugin-react": "^7.11.1",
"husky": "^2.1.0",
"jest": "^24.7.1",
"less": "^3.8.1",
"less-loader": "^4.1.0",
"lint-staged": "^8.1.5",
"mockdate": "^2.0.2",
"path": "^0.12.7",
"prettier": "1.14.2",
"raw-loader": "^0.5.1",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-storybook-addon-chapters": "^2.1.7",
"react-svg-loader": "^2.1.0",
"react-test-renderer": "^16.5.0",
"style-loader": "^0.23.0",
"svg-url-loader": "^2.3.2",
"webpack": "^4.18.0",
"webpack-bundle-analyzer": "^3.3.2",
"webpack-cli": "^3.1.0"
},
"peerDependencies": {
"classnames": "^2.2.5",
"dayjs": "^1.8.10",
"react": "^15.5.4 || ^16.2.0",
"react-dom": "^15.5.4 || ^16.2.0",
"prop-types": "^15.6.2"
},
"jest": {
"setupFilesAfterEnv": [
"./scripts/jestSetup.js"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"moduleNameMapper": {
"\\.(css|less)$": "<rootDir>/src/__mocks__/styleMock.js"
},
"testURL": "http://localhost"
},
"dependencies": {},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm run check && npm run test"
}
},
"lint-staged": {
"./**/*.{js,jsx,ts,tsx,json,css,scss,less}": [
"prettier --write",
"git add"
],
"*.{js,jsx}": [
"eslint --fix",
"git add"
]
}
}