-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpackage.json
47 lines (47 loc) · 1.26 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": "b-validate",
"version": "1.5.3",
"description": "Javascript type validate",
"main": "./dist/b-validate.cjs.js",
"module": "./es/index.js",
"types": "./es",
"scripts": {
"prepublishOnly": "npm run test && npm run build ",
"dev-cjs": "rollup -c -f cjs -o ./dist/b-validate.cjs.js -w",
"dev-es": "rollup -c -w",
"build:es": "rm -rf es/* && BUILD_TYPE=es rollup -c",
"build:dist": "rm -rf dist/* && BUILD_TYPE=dist rollup -c ",
"build": "npm run build:es && npm run build:dist ",
"test": "npm run build:es && jest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/PengJiyuan/b-validate.git"
},
"keywords": [
"validate",
"type"
],
"author": "PengJiyuan",
"license": "MIT",
"bugs": {
"url": "https://github.com/PengJiyuan/b-validate/issues"
},
"homepage": "https://github.com/PengJiyuan/b-validate#readme",
"devDependencies": {
"@babel/preset-env": "^7.3.4",
"@rollup/plugin-typescript": "^8.3.1",
"babel-jest": "^24.5.0",
"jest": "^24.5.0",
"rollup": "^3.23.0",
"@rollup/plugin-buble": "*",
"@rollup/plugin-commonjs": "*",
"@rollup/plugin-node-resolve": "*",
"tslib": "^2.3.1",
"typescript": "^4.6.3"
},
"files": [
"dist",
"es"
]
}