-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
111 lines (111 loc) · 4.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
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"name": "tynder",
"private": false,
"version": "0.7.0",
"description": "TypeScript friendly Data validator for JavaScript.",
"keywords": [
"data validator",
"validator",
"TypeScript",
"validation",
"schema validator",
"validation library",
"JSON Schema",
"schema",
"type checker",
"ajv",
"joi",
"protobuf",
"GraphQL",
"tynder"
],
"main": "./bin/index.js",
"module": "./modules/index.js",
"modules.root": "./modules",
"types": "./bin/index.d.ts",
"typings": "./bin/index.d.ts",
"engines": {
"node": ">=10.0"
},
"bin": {
"tynder": "bin.cli/tynder.js"
},
"dependencies": {
"fruitsconfits": "^0.5.0",
"liyad": "^0.6.0"
},
"devDependencies": {
"@babel/cli": "^7.12.7",
"@babel/core": "^7.12.7",
"@babel/preset-env": "^7.12.7",
"@types/jasmine": "^3.6.2",
"@types/node": "^14.14.9",
"@typescript-eslint/eslint-plugin": "^4.8.1",
"@typescript-eslint/parser": "^4.8.1",
"ajv": "^6.12.6",
"babel-loader": "^8.2.1",
"cross-env": "^7.0.2",
"eslint": "^7.14.0",
"jasmine": "^3.6.3",
"jasmine-spec-reporter": "^6.0.0",
"mkdirp": "^1.0.4",
"npm-run-all": "^4.1.5",
"rimraf": "^3.0.2",
"shx": "^0.3.3",
"source-map-loader": "^1.1.2",
"ts-loader": "^8.0.11",
"tslint": "^6.1.3",
"typescript": "^4.1.2",
"webpack": "^5.6.0",
"webpack-cli": "^4.2.0"
},
"scripts": {
"clean": "run-s clean:cjs clean:esm clean:cli clean:spec clean:dist",
"clean:cjs": "rimraf ./bin",
"clean:esm": "rimraf ./modules",
"clean:cli": "rimraf ./bin.cli",
"clean:spec": "rimraf ./bin.test",
"clean:dist": "rimraf ./dist",
"build": "run-s build:cjs build:esm build:esm:2 build:esm:3 build:spec build:cli:dev",
"build:cjs": "tsc --project tsconfig.build.json --module commonjs --target es2015 --outDir bin --declaration --declarationDir ./bin",
"build:esm": "tsc --project tsconfig.build.json --outDir modules --declaration --declarationDir ./modules",
"build:esm:2": "node -e \"require('./build-scripts/copy-as-mjs').copyAsMjs('modules','modules')\"",
"build:esm:3": "shx cp ./build-scripts/pkg.json ./modules/package.json",
"build:cli": "run-s build:cli:prod",
"build:cli:dev": "webpack-cli --mode=development --config webpack.config.js",
"build:cli:prod": "cross-env NODE_ENV=production webpack-cli --mode=production --config webpack.config.js",
"build:spec": "webpack-cli --mode=development --config webpack.spec.config.js",
"build:spec2": "tsc -p tsconfig.spec.json --module commonjs --target es2015 --outDir bin.test",
"build:dist": "run-s build:dist:prod",
"build:dist:prod": "run-s build:dist:prod:1",
"build:dist:dev": "run-s build:dist:dev:1",
"build:dist:prod:1": "cross-env NODE_ENV=production webpack-cli --mode=production --config webpack.dist.config.js",
"build:dist:dev:1": "webpack-cli --mode=development --config webpack.dist.config.js",
"lint": "tslint ./src/**/*.ts -t verbose",
"lint:es": "run-s lint:es:main lint:es:spec",
"lint:es:main": "eslint -c ./.eslintrc.build.json --ext .js,.ts --ignore-pattern src/_spec/ ./src/",
"lint:es:spec": "eslint -c ./.eslintrc.spec.json --ext .js,.ts ./src/_spec/",
"test": "jasmine",
"example": "run-s example:0 example:1 example:2 example:3 example:4 example:5 example:6 example:7 example:8",
"example:0": "node ./bin.cli/tynder.js",
"example:1": "node ./bin.cli/tynder.js compile --indir ./examples/schema/tynder --outdir ./examples/schema/_compiled",
"example:2": "node ./bin.cli/tynder.js compile-as-ts --indir ./examples/schema/tynder --outdir ./examples/schema/_compiled",
"example:3": "node ./bin.cli/tynder.js gen-ts --indir ./examples/schema/tynder --outdir ./examples/schema/ts",
"example:4": "node ./bin.cli/tynder.js gen-json-schema --indir ./examples/schema/tynder --outdir ./examples/schema/json-schema",
"example:5": "node ./bin.cli/tynder.js gen-json-schema-as-ts --indir ./examples/schema/tynder --outdir ./examples/schema/json-schema",
"example:6": "node ./bin.cli/tynder.js gen-proto3 --indir ./examples/schema/tynder --outdir ./examples/schema/proto3",
"example:7": "node ./bin.cli/tynder.js gen-graphql --indir ./examples/schema/tynder --outdir ./examples/schema/graphql",
"example:8": "node ./bin.cli/tynder.js gen-csharp --indir ./examples/schema/tynder --outdir ./examples/schema/csharp",
"prepublishOnly": "run-s clean build test lint"
},
"repository": {
"type": "git",
"url": "https://github.com/shellyln/tynder.git"
},
"author": "shellyln",
"homepage": "https://shellyln.github.io/",
"bugs": {
"url": "https://github.com/shellyln/tynder/issues"
},
"license": "ISC"
}