This repository was archived by the owner on May 13, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
57 lines (57 loc) · 1.7 KB
/
package.json
File metadata and controls
57 lines (57 loc) · 1.7 KB
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
{
"name": "react-component-template",
"version": "1.0.0",
"description": "Quickly degit a working react component template.",
"author": "JaKXz",
"license": "MIT",
"repository": "JaKXz/react-component-template",
"main": "dist/index.js",
"module": "dist/index.modern.js",
"types": "dist/index.d.ts",
"source": "src/index.tsx",
"engines": {
"node": ">=14"
},
"scripts": {
"mb": "microbundle --jsx 'React.createElement' --jsxImportSource react --globals react/jsx-runtime=jsx --format modern,cjs",
"build": "yarn run mb",
"start": "yarn run mb watch --no-compress",
"prepare": "run-s build && husky install",
"lint": "eslint src",
"package:build": "yarn run build",
"package:lint": "yarn run lint",
"package:type-check": "yarn run tsc",
"test:ci": "run-p package:* test",
"test": "react-scripts test --env=jsdom",
"predeploy": "cd example && yarn install && yarn run build",
"deploy": "gh-pages -d example/build"
},
"peerDependencies": {
"react": ">=16.8"
},
"devDependencies": {
"@types/jest": "^27.4.1",
"@types/node": "^17.0.23",
"@types/react": "^17.0.41",
"@types/react-dom": "^17.0.11",
"@typescript-eslint/eslint-plugin": "^5.11.0",
"@typescript-eslint/parser": "^5.11.0",
"babel-eslint": "^10.0.3",
"eslint": "^8.15.0",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.3.0",
"gh-pages": "^3.2.3",
"husky": "^8.0.1",
"microbundle": "^0.14.2",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.0",
"pretty-quick": "^3.1.3",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-scripts": "^4.0.3",
"typescript": "^4.6.4"
},
"files": [
"dist"
]
}