-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
76 lines (76 loc) · 2.27 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
{
"name": "jobsofferings-ui-components",
"version": "0.0.1",
"private": false,
"author": "jobsofferngs",
"description": "your own React component library using Rollup, TypeScript, Less and Storybook",
"main": "build/index.js",
"module": "build/index.esm.js",
"typings": "build/types/packages/index.d.ts",
"files": [
"build"
],
"types": "build/index.d.ts",
"scripts": {
"prettier": "prettier --write 'packages/**/*.{ts,tsx,less}'",
"_____comment": "npm run git -- 'commit-msg' so you can push and update by a auto way",
"git": "git add . && git commit -m",
"postgit": "npm run build && npm version patch && npm publish && git push",
"sb": "start-storybook -p 6006",
"build": "rimraf build/* && rollup -c",
"build:sb": "build-storybook -c .storybook -o docs"
},
"peerDependencies": {
"react": "^16.13.1",
"react-dom": "^16.13.1",
"typescript": "3.8.3"
},
"dependencies": {
"react": "^16.13.1",
"react-dom": "^16.13.1",
"typescript": "3.8.3"
},
"devDependencies": {
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^11.2.1",
"@storybook/addon-actions": "^6.4.13",
"@storybook/addon-docs": "^6.4.14",
"@storybook/addon-info": "^5.3.21",
"@storybook/addon-knobs": "^6.4.0",
"@storybook/react": "^6.3.7",
"@types/react": "^16.14.14",
"@types/react-dom": "^16.9.14",
"babel-loader": "^8.2.2",
"babel-preset-react-app": "^10.0.0",
"husky": "^4.3.0",
"less": "^4.1.2",
"less-loader": "^5.0.0",
"lint-staged": "^10.5.3",
"prettier": "^2.2.1",
"rimraf": "^3.0.0",
"rollup": "^2.56.3",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-eslint": "^7.0.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss": "^3.1.8",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.29.0",
"style-loader": "^1.3.0",
"ts-loader": "^6.0.4"
},
"lint-staged": {
"packages/**/*.{ts,tsx,less}": [
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}