forked from dcousens/typeforce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
82 lines (82 loc) · 2.21 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
{
"name": "@tradle/typeforce",
"version": "2.0.0",
"description": "Another typescript-based, biased type checking solution for Javascript",
"keywords": [
"typeforce",
"types",
"typechecking",
"type",
"exceptions",
"force"
],
"homepage": "https://github.com/tradle/typeforce",
"bugs": {
"url": "https://github.com/tradle/typeforce/issues"
},
"license": "MIT",
"author": "Daniel Cousens",
"main": "./cjs/index.js",
"module": "./mjs/index.mjs",
"ts-standard": {
"ignore": ["test/fixtures"]
},
"exports": {
".": {
"import": "./mjs/index.mjs",
"require": "./cjs/index.js"
},
"./async": {
"import": "./mjs/async.mjs",
"require": "./cjs/async.js"
},
"./combine": {
"import": "./mjs/combine.mjs",
"require": "./cjs/combine.js"
},
"./compile": {
"import": "./mjs/compile.mjs",
"require": "./cjs/compile.js"
},
"./errors": {
"import": "./mjs/errors.mjs",
"require": "./cjs/errors.js"
},
"./extra": {
"import": "./mjs/extra.mjs",
"require": "./cjs/extra.js"
},
"./native": {
"import": "./mjs/native.mjs",
"require": "./cjs/native.js"
},
"./util": {
"import": "./mjs/util.mjs",
"require": "./cjs/util.js"
}
},
"repository": {
"type": "git",
"url": "https://github.com/dcousens/typeforce.git"
},
"scripts": {
"prepare": "rm -rf mjs cjs; npm run build && npm run lint && npm run coverage",
"coverage": "c8 -r html -r text --check-coverage --branches 100 --functions 100 npm run unit",
"bench": "cd bench; npm i --no-audit --no-donate --loglevel error; npm start",
"generate": "rm -f test/fixtures/2_* test/fixtures/1_* && ts-node scripts/generate_tests.ts",
"rename": "ts-node scripts/rename.ts",
"build": "cd src; tsc -p tsconfig.mjs.json && npm run rename && tsc -p tsconfig.cjs.json",
"test": "npm run lint && npm run unit",
"lint": "ts-standard",
"unit": "ts-node test/index"
},
"dependencies": {},
"devDependencies": {
"@types/node": "^17.0.17",
"c8": "^7.11.0",
"fresh-tape": "^5.5.0",
"ts-node": "^10.5.0",
"ts-standard": "^11.0.0",
"typescript": "^4.4.4"
}
}