Generate project with yo node-typescript, modifes gitignore by hand

This commit is contained in:
Abhas Bhattacharya
2018-01-26 20:35:07 +05:30
parent c1b27b38cc
commit 12feed4fa7
17 changed files with 3370 additions and 7 deletions
+57
View File
@@ -0,0 +1,57 @@
{
"name": "tbl",
"version": "0.0.0",
"description": "tbl",
"license": "MIT",
"repository": "",
"author": {
"name": "",
"email": "",
"url": ""
},
"keywords": [""],
"files": ["lib"],
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"scripts": {
"clean": "rimraf lib && rimraf coverage",
"format":
"prettier --write \"{src,__tests__}/**/*.ts\" --single-quote --trailing-comma es5",
"lint": "tslint --force --format verbose \"src/**/*.ts\"",
"prepare": "npm run build",
"prebuild":
"npm run clean && npm run format && npm run lint && echo Using TypeScript && tsc --version",
"build": "tsc --pretty",
"test": "jest",
"coverage": "jest --coverage",
"watch": "npm run build -- --watch",
"watch:test": "jest --watch"
},
"dependencies": {},
"devDependencies": {
"@types/jest": "^22.0.1",
"@types/node": "^8.0.0",
"coveralls": "^2.0.0",
"jest": "^22.0.4",
"jest-environment-node-debug": "^2.0.0",
"prettier": "^1.5.2",
"rimraf": "^2.0.0",
"ts-jest": "^22.0.1",
"ts-node": "^3.2.0",
"tslint": "^5.0.0",
"tslint-config-prettier": "^1.1.0",
"typescript": "^2.3.0"
},
"engines": {
"node": ">=6.0.0"
},
"jest": {
"transform": {
".(ts)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|js)$",
"moduleFileExtensions": ["ts", "js"],
"testEnvironment": "node",
"mapCoverage": true
}
}