-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
97 lines (97 loc) · 3 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
{
"name": "react-component-library-typescript-boilerplate",
"version": "1.0.0",
"main": "build/index.js",
"module": "build/index.esm.js",
"files": [
"build"
],
"types": "build/index.d.ts",
"description": "React Component Library Boilerplate",
"scripts": {
"dev": "rollup -c -w & yarn watch:typed-scss",
"build": "rollup -c",
"test": "jest",
"lint": "eslint '*/**/*.{js,ts,tsx}' --fix",
"test:watch": "jest --watch",
"storybook": "start-storybook -p 6006",
"storybook:export": "build-storybook",
"generate": "node ./util/create-component",
"prepublishOnly": "npm run build",
"add:react": "node scripts/add_react",
"rm:react": "node scripts/remove_react",
"link:react": "yarn link \"react\" \"react-dom\" && yarn rm:react",
"watch:typed-scss": "typed-scss-modules src --watch --exportType default --nameFormat camel"
},
"keywords": [
"React",
"Component",
"Library",
"Rollup",
"Typescript",
"Sass",
"Storybook"
],
"author": "Irvin Ives Lau",
"license": "MIT",
"bugs": {
"url": "https://github.com/lauirvin/react-component-library-typescript-boilerplate/issues"
},
"homepage": "https://github.com/lauirvin/react-component-library-typescript-boilerplate",
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"dependencies": {
"@testing-library/react": "^10.0.2",
"sass-loader": "^8.0.0"
},
"devDependencies": {
"@babel/core": "^7.10.3",
"@rollup/plugin-commonjs": "^11.1.0",
"@rollup/plugin-image": "^2.0.5",
"@rollup/plugin-node-resolve": "^7.1.3",
"@storybook/react": "^6.4.20",
"@testing-library/jest-dom": "^5.5.0",
"@types/jest": "^24.0.24",
"@types/react": "^16.9.12",
"@types/react-dom": "^16.9.8",
"@typescript-eslint/eslint-plugin": "^4.8.1",
"@typescript-eslint/parser": "^4.8.1",
"babel-loader": "^8.1.0",
"babel-preset-react-app": "^9.1.2",
"eslint": "^7.14.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-airbnb-typescript": "^12.0.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-storybook": "^0.5.7",
"husky": "^4.3.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^24.9.0",
"lint-staged": "^10.5.2",
"prettier": "2.2.0",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"rollup": "^1.27.4",
"rollup-plugin-copy": "^3.3.0",
"rollup-plugin-peer-deps-external": "^2.2.0",
"rollup-plugin-postcss": "^3.1.2",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.27.0",
"sass": "^1.49.10",
"ts-jest": "^26.4.4",
"typed-scss-modules": "^6.2.0",
"typescript": "^3.7.2"
},
"husky": {
"hooks": {
"pre-commit": "yarn lint && yarn build && yarn test && yarn prettier --write '*/**/*.{js,ts,tsx}'",
"pre-push": ""
}
}
}