-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
85 lines (85 loc) · 2.71 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
{
"name": "typecheck.macro",
"version": "0.7.3",
"description": "Macros for validating data against Typescript data structures",
"scripts": {
"format": "prettier --write \"{tests,src,benchmark,scratchpad}/**/*.{js,ts}\" --write package.json --write \"babel.?(test.)config.json\"",
"build": "babel src --out-dir dist --extensions \".ts,.js\" --ignore src/**/*.d.ts",
"test:build": "babel tests --out-dir tests-compiled --config-file ./babel.test.config.json --extensions \".ts\"",
"test:prep": "pnpm run build && pnpm run clear-cache && pnpm run test:build",
"clear-cache": "rimraf -rf node_modules/.cache/@babel/register",
"test": "pnpm run test:prep && ava --verbose",
"scratchpad": "pnpm run clear-cache && npm run build && node --inspect-brk scratchpad/scratchpad.js",
"bench:prep": "node benchmark/generate-data.js",
"bench": "pnpm run build && pnpm run clear-cache && node benchmark/run.js",
"gen-types-partial": "tsc"
},
"ava": {
"require": [
"./_register.js"
],
"typescript": {
"rewritePaths": {
"tests/": "tests-compiled/"
}
},
"snapshotDir": "snapshots"
},
"repository": {
"type": "git",
"url": "https://github.com/vedantroy/typecheck.macro.git"
},
"homepage": "https://github.com/vedantroy/typecheck.macro",
"keywords": [
"babel-plugin-macros"
],
"author": "Vedant Roy",
"license": "MIT",
"dependencies": {
"common-tags": "^1.8.0",
"fast-copy": "^2.0.5",
"javascript-stringify": "^2.0.1",
"lodash.find": "^4.6.0",
"lodash.get": "^4.4.2"
},
"devDependencies": {
"@ava/typescript": "^1.1.1",
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.6",
"@babel/plugin-proposal-optional-chaining": "^7.9.0",
"@babel/plugin-transform-modules-commonjs": "^7.9.0",
"@babel/preset-env": "^7.9.5",
"@babel/preset-typescript": "^7.10.1",
"@babel/register": "^7.9.0",
"@types/babel-plugin-macros": "^2.8.1",
"@types/babel__core": "^7.1.7",
"@types/babel__parser": "^7.1.1",
"@types/common-tags": "^1.8.0",
"@types/lodash.find": "^4.6.6",
"@types/lodash.get": "^4.4.6",
"@types/node": "^13.13.2",
"@types/prettier": "^2.0.1",
"ajv": "^6.12.2",
"ava": "^3.7.1",
"babel-plugin-macros": "^2.8.0",
"fp-ts": "^2.6.1",
"fs-extra": "^9.0.0",
"io-ts": "^2.2.2",
"json-schema-faker": "^0.5.0-rcv.24",
"lodash": "^4.17.15",
"minimist": "^1.2.5",
"prettier": "^2.0.5",
"rimraf": "^3.0.2",
"runtypes": "^4.2.0",
"typescript": "^3.9.2",
"zod": "^1.6.1"
},
"peerDependencies": {
"@babel/core": "^7.9.6",
"babel-plugin-macros": "^2.8.0 || ^3.0.0"
},
"files": [
"dist"
],
"main": "dist/typecheck.macro.js"
}