-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
47 lines (47 loc) · 1.31 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
{
"name": "@xuanmo/utils",
"version": "0.0.4",
"author": {
"name": "xuanmo",
"email": "[email protected]"
},
"main": "dist/index.cjs.min.js",
"module": "dist/index.esm.min.js",
"browser": "dist/index.umd.min.js",
"types": "dist/types/index.d.ts",
"scripts": {
"prepare": "husky install",
"dev": "npm run clear && rollup -c -w --bundleConfigAsCjs",
"build": "npm run clear && rollup -c --bundleConfigAsCjs",
"clear": "rimraf dist",
"lint": "eslint src/**/*.ts --fix",
"test": "npm run build && jest test/"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/D-xuanmo/utils"
},
"devDependencies": {
"@babel/core": "^7.14.6",
"@babel/preset-env": "^7.14.5",
"@rollup/plugin-commonjs": "^19.0.0",
"@rollup/plugin-eslint": "^9.0.3",
"@rollup/plugin-node-resolve": "^13.0.0",
"@rollup/plugin-typescript": "^11.0.0",
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/parser": "^5.54.0",
"@xuanmo/prettier-config": "^0.0.2",
"husky": "^7.0.4",
"jest": "^27.2.5",
"rimraf": "^3.0.2",
"rollup": "^3.18.0",
"rollup-plugin-uglify": "^6.0.4",
"tslib": "^2.3.0",
"typescript": "^5.6.3"
},
"hooks": {
"pre-commit": "npm test"
},
"prettier": "@xuanmo/prettier-config"
}