-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
83 lines (83 loc) · 2.17 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
{
"name": "@pengyin/tools",
"version": "1.0.7",
"author": "yinpeng <[email protected]>",
"description": "Tool library based on typscript",
"license": "MIT",
"scripts": {
"clean": "rimraf lib dist es types",
"format": "prettier --write \"{src}/**/*.{ts}\"",
"lint": "eslint --ext ts src",
"check-types": "tsc --noEmit",
"build": "rollup -c",
"prepublishOnly": "npm run clean && npm run check-types && npm run lint",
"pretest": "npm run build"
},
"keywords": [
"typescript",
"tools",
"utils",
"rollup"
],
"main": "lib/main.js",
"unpkg": "dist/main.js",
"module": "es/main.js",
"types": "types/index.d.ts",
"files": [
"dist",
"lib",
"es",
"src",
"types"
],
"repository": "https://github.com/peng-yin/tools",
"bugs": "https://github.com/peng-yin/tools/issues",
"dependencies": {
"@babel/runtime": "^7.14.0",
"@pengyin/tools": "^1.0.5",
"redux": "^4.1.0"
},
"devDependencies": {
"@babel/cli": "^7.13.16",
"@babel/core": "^7.14.0",
"@babel/plugin-external-helpers": "^7.12.13",
"@babel/plugin-transform-runtime": "^7.13.15",
"@babel/preset-env": "^7.14.1",
"@babel/preset-typescript": "^7.13.0",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^18.1.0",
"@rollup/plugin-node-resolve": "^13.0.0",
"@rollup/plugin-replace": "^2.4.2",
"@types/lodash": "^4.14.168",
"@types/node": "^15.0.2",
"@typescript-eslint/eslint-plugin": "^4.22.1",
"@typescript-eslint/parser": "^4.22.1",
"babel-plugin-lodash": "^3.3.4",
"eslint": "^7.25.0",
"eslint-import-resolver-typescript": "^2.4.0",
"husky": "^6.0.0",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"rollup": "^2.47.0",
"rollup-plugin-filesize": "^9.1.1",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.30.0",
"typescript": "^4.2.4"
},
"peerDependencies": {
"dayjs": "^1.10.4",
"lodash": "^4.17.21"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*./src/**/*.{js,ts,json,css,less,md}": [
"prettier --write",
"yarn lint"
]
}
}