-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
50 lines (50 loc) · 1.52 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
{
"name": "validalli",
"version": "1.0.1",
"publishConfig": {
"access": "public"
},
"license": "MIT",
"description": "A fast, functional, reliable and tiny validation library for state (e.g. form) and runtime datatype checks",
"keywords": [
"validation",
"form",
"async",
"extensibility",
"tiny",
"correctness",
"functional",
"flexibility"
],
"repository": {
"url": "git+https://github.com/jsheaven/runtime-info.git",
"type": "git"
},
"scripts": {
"test": "NODE_OPTIONS=--experimental-vm-modules jest --verbose --coverage ./test/*.test.ts",
"prebuild": "rm -rf ./dist",
"build": "esbuild ./src/index.ts --minify --bundle --outfile=./dist/index.mjs --format=esm --sourcemap && esbuild ./src/index.ts --bundle --minify --outfile=./dist/index.js --format=cjs --sourcemap && tsc ./src/index.ts --declaration --emitDeclarationOnly --declarationDir './dist' --moduleResolution node --target es2015",
"postbuild": "cp ./dist/index.d.ts ./dist/index.mjs.d.ts && gzip-size ./dist/index.mjs --include-original"
},
"author": "Aron Homberg <[email protected]>",
"sideEffects": false,
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.mjs"
}
},
"main": "./dist/index.cjs",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"devDependencies": {
"jest": "^29.4.1",
"ts-jest": "next",
"typescript": "^4.9.5",
"@types/jest": "^29.4.0",
"esbuild": "^0.17.5",
"gzip-size-cli": "^5.1.0"
}
}