-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
62 lines (62 loc) · 1.75 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
{
"name": "yrel",
"version": "2.2.3",
"publishConfig": {
"access": "public"
},
"description": "~2.7kB JavaScript JSON schema validation with TypeScript type inference.",
"keywords": [
"typescript",
"data-validation",
"schema-validation",
"type-inference"
],
"homepage": "https://github.com/romelperez/yrel",
"repository": {
"type": "git",
"url": "https://github.com/romelperez/yrel.git"
},
"funding": "https://github.com/sponsors/romelperez",
"license": "MIT",
"type": "module",
"files": [
"build"
],
"exports": {
".": {
"import": "./build/esm/index.js",
"require": "./build/cjs/index.js"
}
},
"types": "./build/esm/index.d.ts",
"module": "./build/esm/index.js",
"main": "./build/cjs/index.js",
"unpkg": "./build/umd/yrel.umd.cjs",
"devDependencies": {
"eslint": "^8.57.0",
"eslint-config-love": "^43.1.0",
"eslint-config-prettier": "^9.1.0",
"husky": "^9.0.11",
"prettier": "^3.2.5",
"typescript": "5.2",
"ukti": "^4.1.1",
"vite": "^5.2.6",
"vitest": "^1.4.0"
},
"scripts": {
"prepare": "husky",
"clean": "rm -rf ./build && rm -f .tsbuildinfo",
"build": "npm run build-esm && npm run build-cjs && npm run build-umd",
"build-esm": "sh ./scripts/build-esm.sh",
"build-cjs": "sh ./scripts/build-cjs.sh",
"build-umd": "vite build",
"dev": "sh ./scripts/build-esm.sh --watch",
"format-check": "prettier . --check",
"format": "prettier . --write",
"lint": "eslint ./src/**/*.ts",
"lint-fix": "eslint ./src/**/*.ts --fix",
"test-unit": "vitest --typecheck",
"test": "npm run clean && npm run build && npm run format-check && npm run lint && npm run test-unit -- --run",
"prepublishOnly": "npm run test"
}
}