tscli
Version:
TypeScript CLI project generator
99 lines (98 loc) • 2.9 kB
JSON
{
"name": "@tscli/demo",
"version": "0.1.0",
"description": "TypeScript CLI generated demo project",
"main": "src/main.ts",
"config": {
"main": "build/main.js",
"doc_folder": "docs/typedoc"
},
"scripts": {
"ava": "ava --tap \"build/**/*/test.*.js\"|tap-summary",
"ava:coverage": "nyc ava --tap \"build/**/*/test.*.js\"|tap-summary",
"build": "cross-env NODE_ENV=prod tsc",
"build:test": "cross-env NODE_ENV=test tsc -p ./tsconfig.test.json",
"check": "tslint -t codeFrame \"src/**/*.ts\"",
"clean": "shx rm -rf build",
"cy:open": "cypress open",
"dev": "gazeall --runs-npm \"clean build\" \"src/**/*\"",
"devwatch": "gazeall --delay 350 --run \"node build/main.js\" \"build/**/*\"",
"doc": "typedoc --module commonjs --target ES5 --ignoreCompilerErrors --exclude node_modules --out $npm_package_config_doc_folder src",
"format": "tsfmt -r --baseDir ./",
"node:debug": "node --inspect --debug-brk $npm_package_config_main",
"prebuild": "run-s format check clean",
"precommit": "run-s format check",
"predoc": "shx rm -rf $npm_package_config_doc_folder && shx mkdir -p $npm_package_config_doc_folder",
"prepush": "npm run test",
"prestart": "npm run build",
"pretest": "cross-env NODE_ENV=test run-s clean build:test",
"start": "node $npm_package_config_main",
"test": "npm run ava:coverage",
"testwatch": "gazeall --delay 350 --runs-npm ava \"build/**/*\"",
"tsc": "tsc"
},
"keywords": [
"javascript",
"js",
"ts",
"typescript",
"nodejs"
],
"author": "[Full name] <email-inside-brackets> (project-github-repo-inside bracker)",
"license": "GPL-3.0",
"repository": {
"type": "git",
"url": "https://github.com/<github-user-id>/<project-name>"
},
"devDependencies": {
"@types/core-js": "^0.9.43",
"@types/node": "^8.0.26",
"ava": "^0.22.0",
"browserify": "^14.4.0",
"core-js": "^2.4.1",
"cross-env": "^4.0.0",
"cross-var": "^1.0.3",
"cypress": "^1.0.2",
"gazeall": "^0.2.5",
"husky": "^0.13.4",
"browser-sync": "^2.3.0",
"nightwatch": "^0.9.15",
"npm-run-all": "^4.0.2",
"nyc": "^10.3.2",
"shx": "^0.2.2",
"tachyons": "^4.7.4",
"tap-summary": "^3.0.2",
"tape-run": "^3.0.0",
"tslint": "^5.4.3",
"typedoc": "^0.8.0",
"typescript": "^2.5.2",
"typescript-formatter": "^6.0.0"
},
"dependencies": {
"bunyan": "^1.8.12",
"material-design-lite": "^1.3.0"
},
"nyc": {
"lines": 10,
"statements": 10,
"functions": 10,
"branches": 10,
"include": [
"build/**/*.js"
],
"exclude": [
"build/**/*.spec.js",
"build/**/test.*.js",
"build/**/main.js"
],
"reporter": [
"text",
"lcov",
"text-summary",
"html"
],
"cache": true,
"all": true,
"check-coverage": true
}
}