-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
96 lines (96 loc) · 3.4 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
{
"name": "react-typescript-package-template",
"version": "1.0.0",
"description": "Template to write and test a react & typescript package",
"keywords": [
"react",
"typescript",
"package"
],
"author": "Julio Cordeiro",
"license": "MIT",
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
"types": "./lib/esm/index.d.ts",
"sideEffects": false,
"files": [
"/lib",
"/src"
],
"repository": {
"type": "git",
"url": "git+https://github.com/juliomrc/react-typescript-package-template.git"
},
"bugs": {
"url": "https://github.com/juliomrc/react-typescript-package-template/issues"
},
"homepage": "https://github.com/juliomrc/react-typescript-package-template#readme",
"scripts": {
"prepare": "husky install && npm i -g np",
"start-dev": "webpack serve --hot --env dev",
"clean-dist": "rimraf examples-dist",
"type-check": "tsc --noEmit",
"test": "jest",
"build-dev": "npm-run-all -p clean-dist test type-check & webpack --env dev",
"build-prd": "npm-run-all -p clean-dist test type-check & webpack",
"clean-lib": "rimraf lib",
"build-package": "npm run clean-lib && npm run test && tsc -p tsconfig-esm.json && tsc -p tsconfig-cjs.json",
"prepare-package": "npm run build-package && pkgfiles",
"publish-package": "npm run build-package && np"
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown"
},
"devDependencies": {
"@babel/core": "^7.14.3",
"@babel/plugin-transform-runtime": "^7.14.5",
"@babel/preset-env": "^7.14.4",
"@babel/preset-react": "^7.13.13",
"@babel/preset-typescript": "^7.13.0",
"@pmmmwh/react-refresh-webpack-plugin": "^0.4.3",
"@teamsupercell/typings-for-css-modules-loader": "^2.5.1",
"@testing-library/jest-dom": "^5.13.0",
"@testing-library/react": "^11.2.7",
"@testing-library/react-hooks": "^7.0.0",
"@types/jest": "^26.0.23",
"@types/react": "^17.0.9",
"@types/react-dom": "^17.0.6",
"@typescript-eslint/eslint-plugin": "^4.26.1",
"@typescript-eslint/parser": "^4.26.1",
"babel-loader": "^8.2.2",
"css-loader": "^5.2.6",
"eslint": "^7.28.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.24.0",
"eslint-webpack-plugin": "^2.5.4",
"html-webpack-plugin": "^5.3.1",
"husky": "^6.0.0",
"jest": "^27.0.4",
"lint-staged": "^11.0.0",
"mini-css-extract-plugin": "^1.6.0",
"npm-run-all": "^4.1.5",
"pkgfiles": "^2.3.2",
"prettier": "^2.3.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-refresh": "^0.10.0",
"rimraf": "^3.0.2",
"sass": "^1.34.1",
"sass-loader": "^12.0.0",
"stylelint": "^13.13.1",
"stylelint-config-prettier": "^8.0.2",
"stylelint-config-standard": "^22.0.0",
"stylelint-webpack-plugin": "^2.1.1",
"typescript": "^4.3.2",
"webpack": "^5.38.1",
"webpack-bundle-analyzer": "^4.4.2",
"webpack-cli": "^4.7.2",
"webpack-dev-server": "^3.11.2"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"dependencies": {}
}