-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
89 lines (89 loc) · 2.58 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
{
"name": "validia",
"version": "0.3.0",
"description": "A TypeScript-friendly validation utility.",
"engines": {
"node": ">=10.13.0"
},
"main": "index.js",
"exports": {
".": {
"import": "./index.mjs",
"require": "./index.js",
"default": "./index.js"
},
"./es5": {
"import": "./es5.mjs",
"require": "./es5.js",
"default": "./es5.js"
},
"./package.json": "./package.json"
},
"files": [
"es5.*",
"index.*"
],
"devDependencies": {
"@babel/core": "^7.12.16",
"@babel/plugin-transform-runtime": "^7.12.15",
"@babel/preset-env": "^7.12.16",
"@mysticatea/eslint-plugin": "^13.0.0",
"@mysticatea/tools": "^0.1.1",
"@rollup/plugin-babel": "^5.2.3",
"@rollup/plugin-replace": "^2.3.4",
"@rollup/plugin-typescript": "^8.1.1",
"@types/eslint": "^7.2.6",
"@types/mocha": "^8.2.0",
"@types/node": "^14.14.25",
"codecov": "^3.8.1",
"cpx": "^1.5.0",
"dts-bundle-generator": "^5.6.0",
"eslint": "^7.19.0",
"mocha": "^8.2.1",
"mocha-assert-snapshot": "^0.1.0",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"prettier": "~2.2.1",
"pretty-format": "^26.6.2",
"rollup": "^2.38.5",
"ts-node": "^9.1.1",
"typescript": "^4.1.3"
},
"scripts": {
"build": "run-s \"build:{clean,rollup,dts,meta}\"",
"build:clean": "rimraf \"dist/*\"",
"build:rollup": "rollup --config scripts/rollup.config.js",
"build:dts": "dts-bundle-generator --config scripts/dts.config.js && node scripts/cp dist/index.d.ts dist/es5.d.ts",
"build:meta": "cpx \"{LICENSE,package.json,README.md}\" dist/",
"clean": "run-p build:clean test:clean",
"format": "prettier . --write",
"lint": "eslint .",
"test": "nyc mocha",
"test:clean": "rimraf \".nyc_output/*\" \"coverage/*\" node_modules/.cache/nyc",
"test:static": "tsc -p tsconfig/build.json --noEmit && eslint . && prettier . --check",
"test:watch": "warun \"src/**/*.ts\" \"test/**/*.ts\" -- nyc mocha",
"preversion": "npm run -s test:static && npm test",
"version": "npm run -s build",
"postversion": "release"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mysticatea/validia.git"
},
"keywords": [
"validate",
"validator",
"object",
"arguments",
"types"
],
"author": "Toru Nagashima <public@mysticatea.dev>",
"license": "MIT",
"bugs": {
"url": "https://github.com/mysticatea/validia/issues"
},
"homepage": "https://github.com/mysticatea/validia#readme",
"funding": {
"url": "https://github.com/sponsors/mysticatea"
}
}