forked from KaiHotz/react-rollup-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
157 lines (157 loc) · 5.39 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
{
"name": "react-rollup-boilerplate",
"version": "4.0.1",
"description": "Boilerplate for writing React Libraries bundled with Rollup.js to commonJs and ES6 Modules and Storybookt",
"author": "Kai Hotz",
"license": "MIT",
"repository": {
"type": "git",
"url": "[email protected]:KaiHotz/react-rollup-boilerplate.git"
},
"homepage": "https://github.com/KaiHotz/react-rollup-boilerplate",
"main": "dist/index.js",
"module": "dist/index.es.js",
"jsnext:main": "dist/index.es.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"engines": {
"node": ">=14.18.0",
"npm": ">=6"
},
"scripts": {
"start": "NODE_ENV=development BABEL_ENV=development yarn storybook",
"build": "rimraf dist && NODE_ENV=production BABEL_ENV=production rollup -c",
"test": "jest",
"test:coverage": "jest --coverage --forceExit --colors",
"lint": "yarn check-types && yarn eslint && yarn stylelint",
"lint:fix": "yarn eslint:fix && yarn stylelint:fix",
"eslint": "eslint . --ext .js,.jsx,.tsx,.ts",
"eslint:fix": "eslint . --ext .js,.jsx,.tsx,.ts --fix",
"stylelint": "stylelint \"**/*.{css,scss,sass}\"",
"stylelint:fix": "stylelint \"**/*.{css,scss,sass}\" --fix",
"check-types": "tsc",
"ci": "yarn lint && yarn test --watchAll=false",
"audit:fix": "npx yarn-audit-fix",
"prepare": "yarn build",
"prerelease": "yarn lint:fix && yarn test:coverage",
"release": "yarn publish",
"storybook": "storybook dev -p 6006",
"storybook:build": "storybook build",
"predeploy": "yarn storybook:build",
"deploy": "gh-pages -d storybook-static"
},
"peerDependencies": {
"react": "18.x",
"react-dom": "18.x"
},
"dependencies": {
"classnames": "^2.3.2"
},
"devDependencies": {
"@babel/core": "^7.21.4",
"@babel/eslint-parser": "^7.21.3",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-syntax-flow": "^7.21.4",
"@babel/plugin-transform-react-jsx": "^7.21.0",
"@babel/plugin-transform-runtime": "^7.21.4",
"@babel/preset-env": "^7.21.4",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.21.4",
"@babel/runtime": "^7.21.0",
"@popperjs/core": "^2.11.7",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^24.1.0",
"@rollup/plugin-node-resolve": "^15.0.2",
"@rollup/plugin-url": "^8.0.1",
"@storybook/addon-actions": "^7.0.7",
"@storybook/addon-docs": "^7.0.7",
"@storybook/addon-essentials": "^7.0.7",
"@storybook/addon-interactions": "^7.0.7",
"@storybook/addon-links": "^7.0.7",
"@storybook/addons": "^7.0.7",
"@storybook/blocks": "^7.0.7",
"@storybook/node-logger": "^7.0.7",
"@storybook/react": "^7.0.7",
"@storybook/react-webpack5": "^7.0.7",
"@storybook/testing-library": "^0.1.0",
"@svgr/rollup": "^7.0.0",
"@svgr/webpack": "^7.0.0",
"@testing-library/dom": "^9.2.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^14.4.3",
"@types/bluebird": "^3.5.38",
"@types/jest": "^27.4.1",
"@types/node": "^18.16.1",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.1",
"@typescript-eslint/eslint-plugin": "^5.59.1",
"@typescript-eslint/parser": "^5.59.1",
"babel-jest": "^28.0.2",
"babel-loader": "^9.1.2",
"babel-plugin-css-modules-transform": "^1.6.2",
"babel-plugin-named-asset-import": "^0.3.8",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"babel-preset-react-app": "^10.0.1",
"css-loader": "^6.7.3",
"eslint": "^8.39.0",
"eslint-config-prettier": "^8.8.0",
"eslint-config-react-app": "^7.0.1",
"eslint-import-resolver-webpack": "^0.13.2",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^26.1.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-storybook": "^0.6.11",
"file-loader": "^6.2.0",
"gh-pages": "^5.0.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^27.4.3",
"jest-environment-jsdom": "^27.5.1",
"jest-pnp-resolver": "^1.2.2",
"jest-watch-typeahead": "^1.1.0",
"postcss": "^8.4.23",
"postcss-scss": "^4.0.6",
"prettier": "^2.8.8",
"process": "^0.11.10",
"react": "^18.2.0",
"react-app-polyfill": "^3.0.0",
"react-docgen-typescript": "^2.2.2",
"react-dom": "^18.2.0",
"react-test-renderer": "^18.2.0",
"react-transition-group": "^4.4.5",
"regenerator-runtime": "^0.13.11",
"resolve-url-loader": "^5.0.0",
"rimraf": "^5.0.0",
"rollup": "^3.21.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.34.1",
"sass": "^1.62.1",
"sass-loader": "^13.2.2",
"storybook": "^7.0.7",
"style-loader": "^3.3.2",
"stylelint": "^15.6.0",
"stylelint-prettier": "^3.0.0",
"stylelint-scss": "^4.6.0",
"ts-toolbelt": "^9.6.0",
"tslib": "^2.5.0",
"typescript": "^5.0.4",
"url-loader": "^4.1.1",
"webpack": "^5.80.0",
"yarn-audit-fix": "^9.3.10"
},
"resolutions": {
"postcss": "^8.4.23",
"loader-utils": "^1.4.1",
"json5": "^1.0.2"
}
}