-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
95 lines (95 loc) · 2.63 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
{
"name": "rc-countdown-view",
"version": "2.0.1",
"description": "A simple countdown react component.",
"main": "lib/index.js",
"module": "es/index.js",
"types": "types/index.d.ts",
"files": [
"es",
"lib",
"types"
],
"scripts": {
"test": "jest --verbose",
"start": "dumi dev",
"doc": "dumi build",
"build": "npm run build:module && npm run build:types",
"build:module": "rm -rf lib && rm -rf es && rollup -c",
"build:types": "rm -rf types && tsc -p tsconfig.build.json --outDir types -d --emitDeclarationOnly",
"lint": "eslint --ext .js,.jsx,.ts,.tsx src",
"lint-fix": "npm run lint -- --fix",
"prettier": "prettier --write **/*",
"commit": "cz",
"prepublishOnly": "npm test && npm run build",
"tsc": "tsc --noEmit",
"prepare": "husky install"
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx}": "eslint",
"**/*.{css,scss,less,js,jsx,ts,tsx,json,md}": "prettier -w"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/caijf/rc-countdown-view.git"
},
"keywords": [
"countdown",
"react",
"component"
],
"author": "caijf",
"license": "MIT",
"bugs": {
"url": "https://github.com/caijf/rc-countdown-view/issues"
},
"homepage": "https://github.com/caijf/rc-countdown-view#readme",
"dependencies": {
"countdown-pro": "^2.0.1",
"tslib": "^2.4.0"
},
"devDependencies": {
"@babel/preset-env": "^7.19.0",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-node-resolve": "^15.0.2",
"@rollup/plugin-typescript": "^11.1.1",
"@types/jest": "^29.0.0",
"@types/react": "^18.0.18",
"@types/react-dom": "^18.0.6",
"@types/react-test-renderer": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.36.2",
"@typescript-eslint/parser": "^5.36.2",
"babel-jest": "^29.0.2",
"cz-conventional-changelog": "^3.3.0",
"dumi": "^1.1.47",
"element-remove": "^1.0.4",
"eslint": "^8.23.0",
"eslint-plugin-react": "^7.31.8",
"eslint-plugin-react-hooks": "^4.6.0",
"jest": "^29.0.2",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-test-renderer": "^18.2.0",
"rollup": "^3.21.7",
"typescript": "^4.8.3",
"husky": "^8.0.0"
},
"peerDependencies": {
"react": ">=16.8.6"
},
"resolutions": {
"react": "18",
"react-dom": "18"
}
}