-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
98 lines (98 loc) · 3.03 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
{
"name": "react-library-example",
"version": "1.0.0",
"description": "Simple example of react library",
"author": "jmorozov",
"license": "MIT",
"repository": "jmorozov/react-library-example",
"main": "dist/index.js",
"module": "dist/index.es.js",
"jsnext:main": "dist/index.es.js",
"engines": {
"node": ">=8",
"npm": ">=5"
},
"typings": "dist/index",
"scripts": {
"lint": "eslint src/**/* --ext .ts,.tsx --fix",
"test": "npm run lint && jest",
"build": "rollup -c",
"start": "rollup -c -w && npm run prettier-watch",
"prepare": "npm run build",
"prettier-watch": "onchange 'src/**/*' -- prettier --write {{changed}}",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook"
},
"dependencies": {},
"peerDependencies": {
"prop-types": "^15.7.2",
"react": "^16.0.0",
"react-dom": "^16.0.0"
},
"devDependencies": {
"@babel/core": "^7.5.4",
"@storybook/addon-actions": "^5.1.9",
"@storybook/addon-info": "5.1.9",
"@storybook/addon-knobs": "^5.1.9",
"@storybook/addon-links": "^5.1.9",
"@storybook/addons": "^5.1.9",
"@storybook/react": "^5.1.9",
"@svgr/rollup": "^4.3.1",
"@types/jest": "24.0.15",
"@types/react": "^16.8.23",
"@types/react-dom": "^16.8.4",
"@types/storybook__addon-info": "^4.1.2",
"@types/storybook__addon-knobs": "^5.0.2",
"@types/storybook__react": "4.0.2",
"@typescript-eslint/eslint-plugin": "1.6.0",
"@typescript-eslint/parser": "1.6.0",
"awesome-typescript-loader": "5.2.1",
"babel-eslint": "10.0.2",
"babel-loader": "^8.0.6",
"eslint": "^5.16.0",
"eslint-config-prettier": "6.0.0",
"eslint-config-react-app": "^4.0.1",
"eslint-loader": "2.1.2",
"eslint-plugin-flowtype": "2.50.1",
"eslint-plugin-import": "2.16.0",
"eslint-plugin-jsx-a11y": "6.2.1",
"eslint-plugin-prettier": "3.1.0",
"eslint-plugin-react": "7.12.4",
"eslint-plugin-react-hooks": "^1.5.0",
"husky": "^3.0.0",
"jest": "24.8.0",
"lint-staged": "^9.1.0",
"onchange": "6.0.0",
"prettier": "1.18.2",
"react": "^16.8.6",
"react-docgen-typescript": "^1.12.5",
"react-docgen-typescript-loader": "3.1.0",
"react-dom": "^16.8.6",
"react-test-renderer": "^16.8.6",
"rollup": "^1.16.6",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.0.1",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-peer-deps-external": "^2.2.0",
"rollup-plugin-postcss": "^2.0.3",
"rollup-plugin-typescript2": "^0.22.0",
"rollup-plugin-url": "^2.2.2",
"ts-jest": "24.0.2",
"webpack-blocks": "2.0.1",
"typescript": "^3.5.2"
},
"files": [
"dist"
],
"husky": {
"hooks": {
"pre-commit": "npm run test && lint-staged"
}
},
"lint-staged": {
"*.{js,ts,tsx,css,json,md}": [
"prettier --write",
"git add"
]
}
}