-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
59 lines (59 loc) · 1.67 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
{
"name": "@xuanmo/validator",
"version": "0.0.20",
"description": "用最少的代码,解决繁琐的事情",
"private": false,
"main": "dist/validator.cjs.js",
"module": "dist/validator.esm.js",
"browser": "dist/validator.umd.js",
"types": "dist/types/main.d.ts",
"scripts": {
"prepare": "husky install",
"dev": "cross-env NODE_ENV=dev npm run clear && rollup -c -w --bundleConfigAsCjs",
"build": "cross-env NODE_ENV=prod npm run clear && rollup -c --bundleConfigAsCjs",
"clear": "rimraf dist && rimraf rules",
"lint": "eslint . --fix",
"test": "vitest",
"test:ui": "vitest --ui"
},
"keywords": [
"validator",
"validate form"
],
"author": {
"name": "xuanmo",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "https://github.com/D-xuanmo/validator"
},
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.21.3",
"@babel/plugin-transform-runtime": "^7.21.0",
"@babel/preset-env": "^7.20.2",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-eslint": "^9.0.3",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-terser": "^0.4.0",
"@rollup/plugin-typescript": "^11.0.0",
"@typescript-eslint/eslint-plugin": "^5.56.0",
"@typescript-eslint/parser": "^5.56.0",
"@vitest/ui": "^0.33.0",
"cross-env": "^7.0.3",
"eslint": "^8.36.0",
"husky": "^8.0.3",
"rimraf": "^4.4.0",
"rollup": "^3.20.2",
"rollup-plugin-filesize": "^10.0.0",
"tslib": "^2.5.0",
"typescript": "^5.0.2",
"vitest": "^0.33.0"
},
"dependencies": {
"@xuanmo/utils": "^0.0.1",
"vite": "^4.4.2"
}
}