-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
82 lines (82 loc) · 2.91 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": "ts-generator",
"description": "The missing piece for fully typesafe Typescript apps",
"keywords": [
"typescript",
"generator",
"typings",
"types",
"typesafe"
],
"version": "0.0.7",
"bin": "dist/cli/run.js",
"main": "./dist/publicApi.js",
"repository": "https://github.com/freight-trust/ts-generator",
"license": "MIT",
"scripts": {
"start": "ts-node ./src/cli/cli.ts ./example/ts-gen.json",
"build": "rm -rf ./dist && tsc -p tsconfig.prod.json --outDir ./dist",
"postbuild": "chmod +x ./dist/cli/run.js",
"prepublishOnly": "yarn test && yarn build",
"format": "prettier --list-different '**/*.{ts,json,md, gql}'",
"format:fix": "prettier --write '**/*.{ts,json,md,gql}'",
"tslint": "tslint -p ./tsconfig.json -e 'node_modules/**/*' -e '**/node_modules/**/*' '**/*.ts'",
"tslint:fix": "tslint --fix --format stylish -p ./tsconfig.json -e 'node_modules/**/*' -e '**/node_modules/**/*' '**/*.ts'",
"tsc": "tsc --noEmit",
"lint": "yarn format && yarn tslint && yarn tsc",
"lint:fix": "yarn format:fix && yarn tslint:fix && yarn tsc",
"check-example": "yarn build && ./example/scripts/test.sh",
"test:mocha": "NODE_ENV=test mocha --require ts-node/register --require ./test/setup-chai.ts '**/*.spec.ts'",
"test:mocha:coverage": "NODE_ENV=test nyc mocha --require ts-node/register --require ./test/setup-chai.ts --require source-map-support/register '**/*.spec.ts'",
"test": "yarn lint && yarn test:mocha && yarn check-example",
"test:fix": "yarn lint:fix && yarn test:mocha && yarn check-example",
"test:coverage": "yarn lint && yarn test:mocha:coverage && yarn check-example",
"coveralls": "nyc report --reporter=text-lcov | coveralls"
},
"devDependencies": {
"@types/chai": "^4.2.12",
"@types/glob": "^7.1.3",
"@types/jest": "^26.0.14",
"@types/mocha": "^8.0.3",
"@types/node": "^14.11.2",
"@types/sinon": "^9.0.5",
"@types/sinon-chai": "^3.2.4",
"@typescript-eslint/eslint-plugin-tslint": "^4.2.0",
"@typescript-eslint/parser": "^4.2.0",
"@vercel/ncc": "^0.24.1",
"chai": "^4.2.0",
"coveralls": "^3.1.0",
"eslint": "^7.9.0",
"eslint-plugin-github": "^4.1.1",
"eslint-plugin-jest": "^24.0.2",
"jest": "^26.4.2",
"jest-circus": "^26.4.2",
"js-yaml": "^3.14.0",
"mocha": "^8.1.3",
"nyc": "^15.1.0",
"prettier": "2.1.2",
"sinon": "^9.0.3",
"sinon-chai": "^3.5.0",
"snap-shot-it": "^7.9.3",
"source-map-support": "^0.5.19",
"ts-jest": "^26.4.0",
"ts-node": "^9.0.0",
"tslint": "^6.1.3",
"typescript": "^4.0.3"
},
"dependencies": {
"@types/mkdirp": "^1.0.1",
"@types/prettier": "^2.1.1",
"@types/resolve": "^1.17.1",
"@actions/core": "^1.2.5",
"ts-essentials": "^7.0.0",
"chalk": "^4.1.0",
"glob": "^7.1.6",
"mkdirp": "^1.0.4",
"resolve": "^1.17.0"
},
"files": [
"dist/**",
"yarn.lock"
]
}