Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

generator-ts-np

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-ts-np - npm Package Compare versions

Comparing version 0.0.22 to 0.0.23

82

generators/app/templates/render/package.json
{
"name": "<%= packageName %>",
"version": "0.0.1",
"description": "<%= packageDescription %>",
"main": "dist/index.js",
"scripts": {
"build": "./node_modules/.bin/tsc",
"build-watch": "./node_modules/.bin/tsc -w",
"lint": "./node_modules/.bin/prettier --use-tabs --tab-width 4 --write src/**/* && ./node_modules/.bin/tslint -c ./tslint.json -p ./tsconfig.json -t stylish --fix ./src/**/*",
"lint-noFix": "./node_modules/.bin/prettier --use-tabs --tab-width 4 src/**/* && ./node_modules/.bin/tslint -c ./tslint.json -p ./tsconfig.json -t stylish ./src/**/*",
"test": "./node_modules/.bin/cross-env NODE_ENV=test ./node_modules/.bin/mocha tests/ --compilers ts:ts-node/register,tsx:ts-node/register --recursive --reporter spec",
"test-watch": "./node_modules/.bin/cross-env NODE_ENV=test ./node_modules/.bin/mocha tests/ --compilers ts:ts-node/register,tsx:ts-node/register --recursive --reporter spec --watch",
"preCommit-msg": "echo 'Precommit checks ...' && exit 0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/<%= githubUsername %>/<%= githubRepository %>.git"
},
"author": "Name <<%= email %>> (https://twitter.com/<%= twitterUsername %>)",
"license": "MIT",
"bugs": {
"url": "https://github.com/<%= githubUsername %>/<%= githubRepository %>/issues"
},
"homepage": "https://github.com/<%= githubUsername %>/<%= githubRepository %>#readme",
"dependencies": {},
"devDependencies": {
"@types/chai": "^4.0.1",
"@types/mocha": "^2.2.41",
"@types/node": "^8.0.5",
"chai": "^4.1.0",
"concurrently": "^3.5.0",
"cross-env": "^5.0.1",
"mocha": "^3.4.2",
"pre-commit": "^1.2.2",
"prettier": "^1.5.3",
"ts-node": "^3.3.0",
"tslint": "^5.5.0",
"typescript": "^2.4.2"
},
"pre-commit": [
"preCommit-msg",
"lint-noFix"
]
"name": "<%= packageName %>",
"version": "0.0.1",
"description": "<%= packageDescription %>",
"main": "dist/index.js",
"scripts": {
"prepublishOnly": "echo 'Executing pre-publish stuffs..' && npm run lint && npm run build",
"build": "./node_modules/.bin/tsc",
"build-watch": "./node_modules/.bin/tsc -w",
"lint": "./node_modules/.bin/prettier --use-tabs --tab-width 4 --write src/**/* && ./node_modules/.bin/tslint -c ./tslint.json -p ./tsconfig.json -t stylish --fix ./src/**/*",
"lint-noFix": "./node_modules/.bin/prettier --use-tabs --tab-width 4 src/**/* && ./node_modules/.bin/tslint -c ./tslint.json -p ./tsconfig.json -t stylish ./src/**/*",
"test": "./node_modules/.bin/cross-env NODE_ENV=test ./node_modules/.bin/mocha tests/ --compilers ts:ts-node/register,tsx:ts-node/register --recursive --reporter spec",
"test-watch": "./node_modules/.bin/cross-env NODE_ENV=test ./node_modules/.bin/mocha tests/ --compilers ts:ts-node/register,tsx:ts-node/register --recursive --reporter spec --watch",
"preCommit-msg": "echo 'Precommit checks ...' && exit 0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/<%= githubUsername %>/<%= githubRepository %>.git"
},
"author": "Name <<%= email %>> (https://twitter.com/<%= twitterUsername %>)",
"license": "MIT",
"bugs": {
"url": "https://github.com/<%= githubUsername %>/<%= githubRepository %>/issues"
},
"homepage": "https://github.com/<%= githubUsername %>/<%= githubRepository %>#readme",
"dependencies": {},
"devDependencies": {
"@types/chai": "^4.0.1",
"@types/mocha": "^2.2.41",
"@types/node": "^8.0.5",
"chai": "^4.1.0",
"concurrently": "^3.5.0",
"cross-env": "^5.0.1",
"mocha": "^3.4.2",
"pre-commit": "^1.2.2",
"prettier": "^1.5.3",
"ts-node": "^3.3.0",
"tslint": "^5.5.0",
"typescript": "^2.4.2"
},
"pre-commit": ["preCommit-msg", "lint-noFix"]
}
{
"name": "generator-ts-np",
"version": "0.0.22",
"version": "0.0.23",
"description": "Yeoman Generator For Building Node Packages With Typescript",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/vajahath/generator-ts-np#readme",

@@ -16,5 +16,8 @@ # generator-ts-np

- Compiles down your code to `es5`. (which means the code runs in many versions of node)
- No global dependencies.
- Pre-commit hooks for linters.
- Pre-publish hook to lint and build - so that you never miss that stuff.
- Vscode integration.
- Integrated, fully configured mocha testing environment.
- Write tests in typescript itself.
- Scaffolds readme with all essential badges and stuffs.

@@ -73,2 +76,3 @@ - Familiar directory structure.

- When you `npm publish`, mainly the content of `dist/` will be published. To know what folders/files will be ignored, take a look at `.npmignore`.
- The `media/` folder is `.npmignored` by default. So if you need to use some images inside your package, handle `.npmignore` file accordingly. The idea here is that you should not publish any unnecessary stuffs to npm registry.

@@ -75,0 +79,0 @@ > :warning: **Important**: Before publishing your package, hand check each and every file and verify everything is perfect. `ts-np` only helps you to get started quickly and step back it self leaving the rest to you.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc