generator-node-tsnext
Advanced tools
Comparing version 1.9.0 to 1.10.0
@@ -32,4 +32,4 @@ { | ||
"scripts": { | ||
"build": "npm run ts -- -p tsconfig.prod.json", | ||
"clean": "shx rm -rf dist/", | ||
"build": "tsc -p tsconfig.prod.json", | ||
"clean": "shx rm -rf dist/ .*cache *.log", | ||
"lint": "npm run lint:debug -- --config tslint.prod.json", | ||
@@ -39,17 +39,23 @@ "lint:debug": "tslint --project tsconfig.json --format stylish", | ||
"test": "shx echo 'Write your own tests'", | ||
"ts": "npm run clean && tsc", | ||
"watch": "npm run ts -- --watch" | ||
"ts": "tsc", | ||
"watch": "tsc --watch" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "npm run lint && tsc --noEmit" | ||
} | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"@reallyland/tsconfig": "^1.0.0", | ||
"@reallyland/tsconfig": "^2.0.0", | ||
"@reallyland/tslint-config": "^1.1.1", | ||
"@types/node": "^12.7.4", | ||
"@types/node": "^13.9.8", | ||
"husky": "^4.2.3", | ||
"shx": "^0.3.2", | ||
"tslint": "^5.19.0", | ||
"typescript": "^3.6.2" | ||
"tslint": "^6.1.0", | ||
"typescript": "^3.8.3" | ||
}, | ||
"engines": { | ||
"node": ">= 8.16.0", | ||
"npm": ">= 6.4.1" | ||
"node": ">= 10.18.1", | ||
"npm": ">= 6.13.4" | ||
}, | ||
@@ -56,0 +62,0 @@ "publishConfig": { |
@@ -20,3 +20,2 @@ <div align="center" style="text-align: center;"> | ||
[![CircleCI][circleci-badge]][circleci-url] | ||
[![Dependency Status][daviddm-badge]][daviddm-url] | ||
@@ -118,3 +117,2 @@ [![codecov][codecov-badge]][codecov-url] | ||
[circleci-badge]: https://flat.badgen.net/circleci/github/<%= gitName %>/<%= packageName %>?icon=circleci | ||
[daviddm-badge]: https://flat.badgen.net/david/dep/<%= gitName %>/<%= packageName %> | ||
@@ -139,3 +137,2 @@ [codecov-badge]: https://flat.badgen.net/codecov/c/github/<%= gitName %>/<%= packageName %>?label=codecov&icon=codecov | ||
[circleci-url]: https://circleci.com/gh/<%= gitName %>/<%= packageName %>/tree/master | ||
[daviddm-url]: https://david-dm.org/<%= gitName %>/<%= packageName %> | ||
@@ -142,0 +139,0 @@ [codecov-url]: https://codecov.io/gh/<%= gitName %>/<%= packageName %> |
@@ -0,0 +0,0 @@ export async function greeting(name: string = 'World') { |
@@ -0,0 +0,0 @@ { |
@@ -0,0 +0,0 @@ { |
@@ -0,0 +0,0 @@ { |
@@ -0,0 +0,0 @@ { |
{ | ||
"name": "generator-node-tsnext", | ||
"version": "1.9.0", | ||
"version": "1.10.0", | ||
"description": "Generator for developing in TypeScript Next", | ||
@@ -27,4 +27,4 @@ "keywords": [ | ||
"scripts": { | ||
"build": "npm run clean && npm run lint && npm run ts -- -p ./tsconfig.json", | ||
"build:prod": "npm run clean && npm run lint:prod && npm run ts -- -p ./tsconfig.prod.json", | ||
"build": "npm run clean && npm run lint && tsc -p ./tsconfig.json", | ||
"build:prod": "npm run clean && npm run lint:prod && tsc -p ./tsconfig.prod.json", | ||
"clean": "shx rm -rf coverage/ app/tests/ app/index.js app/index.js.map app/index.d.ts app/index.d.ts.map", | ||
@@ -39,4 +39,9 @@ "jest": "jest --config ./.jestrc.json", | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "npm run lint && tsc --noEmit" | ||
} | ||
}, | ||
"dependencies": { | ||
"chalk": "^2.1.0", | ||
"chalk": "^3.0.0", | ||
"gh-user": "^4.0.0", | ||
@@ -47,6 +52,6 @@ "yeoman-generator": "^4.1.0", | ||
"devDependencies": { | ||
"@reallyland/tsconfig": "^1.0.0", | ||
"@reallyland/tsconfig": "^2.0.0", | ||
"@reallyland/tslint-config": "^1.1.1", | ||
"@types/jest": "^24.0.18", | ||
"@types/node": "^12.7.11", | ||
"@types/node": "^13.9.8", | ||
"@types/yeoman-assert": "^3.1.1", | ||
@@ -56,5 +61,6 @@ "@types/yeoman-generator": "^3.1.4", | ||
"@types/yosay": "0.0.29", | ||
"husky": "^4.2.3", | ||
"jest": "^24.9.0", | ||
"shx": "^0.3.2", | ||
"tslint": "^5.20.0", | ||
"tslint": "^6.1.0", | ||
"typescript": "^3.6.3", | ||
@@ -65,5 +71,5 @@ "yeoman-assert": "^3.1.1", | ||
"engines": { | ||
"node": ">= 8.16.0", | ||
"npm": ">= 6.4.1" | ||
"node": ">= 10.18.1", | ||
"npm": ">= 6.13.4" | ||
} | ||
} |
@@ -9,2 +9,4 @@ <div align="center" style="text-align: center;"> | ||
<a href="https://www.buymeacoffee.com/RLmMhgXFb" target="_blank" rel="noopener noreferrer"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: 20px !important;width: auto !important;" ></a> | ||
[![tippin.me][tippin-me-badge]][tippin-me-url] | ||
[![Follow me][follow-me-badge]][follow-me-url] | ||
@@ -20,3 +22,3 @@ | ||
[![CircleCI][circleci-badge]][circleci-url] | ||
[![ci][ga-badge]][ga-url] | ||
[![Dependency Status][daviddm-badge]][daviddm-url] | ||
@@ -38,2 +40,3 @@ [![codecov][codecov-badge]][codecov-url] | ||
- [NPX](#npx) | ||
- [Testing](#testing) | ||
- [Getting To Know Yeoman](#getting-to-know-yeoman) | ||
@@ -49,6 +52,6 @@ - [Contributing](#contributing) | ||
- [Node.js][nodejs-url] >= `8.16.0` | ||
- [NPM][npm-url] >= `6.4.1` | ||
- [TypeScript][typescript-url] >= `3.0.1` ___(No guarantee it will work below the version specified here)___ | ||
- [TSLint][tslint-url] >= `5.11.0` ___(No guarantee it will work below the version specified here)___ | ||
- [Node.js][nodejs-url] >= `10.18.1` | ||
- [NPM][npm-url] >= `6.13.4` | ||
- [TypeScript][typescript-url] >= `3.8.3` | ||
- [TSLint][tslint-url] >= `6.1.0` | ||
- [TSLint extension for your favorite text editor][tslint-extension-url] | ||
@@ -91,2 +94,9 @@ | ||
## Testing | ||
Bring your own testing library/ framework based on your use case. But, here are a few to recommend if you haven't already had one: | ||
1. [Jest] | ||
2. [AVA] | ||
## Getting To Know Yeoman | ||
@@ -118,4 +128,7 @@ | ||
[yeoman-url]: https://yeoman.io | ||
[Jest]: https://github.com/facebook/jest | ||
[AVA]: https://github.com/avajs/ava | ||
<!-- Badges --> | ||
[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E | ||
[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter | ||
@@ -131,3 +144,3 @@ | ||
[circleci-badge]: https://flat.badgen.net/circleci/github/motss/generator-node-tsnext?icon=circleci | ||
[ga-badge]: https://github.com/motss/generator-node-tsnext/workflows/ci/badge.svg?branch=master | ||
[daviddm-badge]: https://flat.badgen.net/david/dep/motss/generator-node-tsnext | ||
@@ -142,3 +155,4 @@ [codecov-badge]: https://flat.badgen.net/codecov/c/github/motss/generator-node-tsnext?label=codecov&icon=codecov | ||
<!-- Links --> | ||
[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&utm_medium=referral&utm_content=motss/generator-node-tsnext | ||
[tippin-me-url]: https://tippin.me/@igarshmyb | ||
[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&utm_medium=referral&utm_content=motss/generator-lit-element-next | ||
@@ -152,3 +166,3 @@ [version-url]: https://www.npmjs.com/package/generator-node-tsnext | ||
[circleci-url]: https://circleci.com/gh/motss/generator-node-tsnext/tree/master | ||
[ga-url]: https://github.com/motss/generator-node-tsnext/actions?query=workflow%3Aci | ||
[daviddm-url]: https://david-dm.org/motss/generator-node-tsnext | ||
@@ -155,0 +169,0 @@ [coveralls-url]: https://coveralls.io/github/motss/generator-node-tsnext?branch=master |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
166
32262
15
+ Addedchalk@3.0.0(transitive)
Updatedchalk@^3.0.0