UNPKG

ts-generator

Version:

The missing piece for fully typesafe Typescript apps

72 lines (71 loc) 2.6 kB
{ "name": "ts-generator", "description": "The missing piece for fully typesafe Typescript apps", "keywords": [ "typescript", "generator", "typings", "types", "typesafe" ], "version": "0.1.1", "bin": "dist/cli/run.js", "main": "./dist/publicApi.js", "repository": "https://github.com/krzkaczor/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.1.2", "@types/glob": "^5.0.35", "@types/mocha": "^5.2.0", "@types/node": "^10.0.3", "@types/sinon": "^5.0.2", "@types/sinon-chai": "^3.2.0", "chai": "^4.1.2", "coveralls": "^3.0.2", "mocha": "^5.2.0", "nyc": "^12.0.2", "sinon": "^6.1.5", "sinon-chai": "^3.2.0", "snap-shot-it": "^6.0.1", "source-map-support": "^0.5.8", "ts-node": "^7.0.1", "tslint": "^5.11.0", "typescript": "^3.0.1", "typestrict": "^0.0.9" }, "dependencies": { "@types/mkdirp": "^0.5.2", "@types/prettier": "^2.1.1", "@types/resolve": "^0.0.8", "chalk": "^2.4.1", "glob": "^7.1.2", "mkdirp": "^0.5.1", "prettier": "^2.1.2", "resolve": "^1.8.1", "ts-essentials": "^1.0.0" }, "files": [ "dist/**", "yarn.loc" ] }