-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
74 lines (74 loc) · 1.92 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
{
"name": "@template/react-component-tsx",
"version": "3.7.5",
"description": "React Component Example for TypeScript.",
"private": true,
"main": "lib/index.js",
"module": "esm/index.js",
"scripts": {
"doc": "kkt build --app-src ./website",
"start": "kkt start --app-src ./website",
"watch": "tsbb watch & npm run css:watch",
"build": "tsbb build && npm run css:build",
"css:build": "compile-less -d src -o esm",
"css:watch": "compile-less -d src -o esm --watch",
"css:build:dist": "compile-less -d src --combine lib/dist.css --rm-global",
"test": "tsbb test",
"coverage": "tsbb test --coverage --bail",
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\""
},
"repository": {
"type": "git",
"url": "https://github.com/jaywcjlove/tsbb/tree/master/example/react-component-tsx"
},
"license": "MIT",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,tsx,ts,less,md,json}": [
"prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\""
]
},
"peerDependencies": {
"@babel/runtime": ">=7.10.0",
"react": ">=16.9.0",
"react-dom": ">=16.9.0"
},
"devDependencies": {
"@babel/runtime": "~7.18.0",
"@kkt/less-modules": "~7.1.1",
"@kkt/raw-modules": "~7.1.1",
"@kkt/scope-plugin-options": "~7.1.1",
"@types/react": "~18.0.0",
"@types/react-dom": "~18.0.0",
"compile-less-cli": "~1.8.11",
"husky": "~7.0.4",
"kkt": "~7.1.5",
"lint-staged": "~12.4.0",
"prettier": "~2.6.0",
"react": "~18.1.0",
"react-dom": "~18.1.0",
"tsbb": "^3.7.5"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}