@callstack-io/generator-node-module
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -33,3 +33,3 @@ /** | ||
validate: required( | ||
'You have to provide a username or organisation name', | ||
'You have to provide a username or organisation name' | ||
), | ||
@@ -57,3 +57,3 @@ }, | ||
this.destinationPath(), | ||
tpl, | ||
tpl | ||
); | ||
@@ -60,0 +60,0 @@ |
@@ -7,3 +7,3 @@ { | ||
"repository": "github:<%= githubUsername %>/<%= repoName %>", | ||
"bugs": "https://github.com/<%= githubUsername %>/<%= repoName %>/issues", | ||
"bugs": "https://github.com/<%= githubUsername %>/<%= repoName %>/issues", | ||
"author": { | ||
@@ -13,3 +13,3 @@ "name": "<%= name %>", | ||
}, | ||
"files": [ | ||
"files": [ | ||
"lib" | ||
@@ -24,3 +24,3 @@ ], | ||
"lint": "eslint src", | ||
"prepublish": "babel src --out-dir lib", | ||
"prepublish": "babel src --out-dir lib", | ||
"jest": "jest src", | ||
@@ -31,3 +31,3 @@ "test": "npm run flow && npm run lint && npm run jest" | ||
"devDependencies": { | ||
"babel-cli": "^6.24.0", | ||
"babel-cli": "^6.24.0", | ||
"babel-core": "^6.24.0", | ||
@@ -49,3 +49,3 @@ "babel-plugin-transform-object-rest-spread": "^6.23.0", | ||
"lint-staged": "^3.4.0", | ||
"npm-release": "^1.0.0", | ||
"npm-release": "^1.0.0", | ||
"prettier": "^0.22.0" | ||
@@ -52,0 +52,0 @@ }, |
{ | ||
"name": "@callstack-io/generator-node-module", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Scaffold out a node module", | ||
@@ -39,3 +39,3 @@ "license": "MIT", | ||
"eslint --fix", | ||
"prettier --single-quote --trailing-comma all --write", | ||
"prettier --single-quote --trailing-comma es5 --write", | ||
"git add" | ||
@@ -42,0 +42,0 @@ ] |
@callstack-io/generator-node-module | ||
=========== | ||
Scaffolds out a node module with the following features: | ||
- Flow | ||
- Prettier | ||
- Jest | ||
- Eslint | ||
- Husky (pre-commit lint) | ||
- CircleCI | ||
A [Yeoman](http://yeoman.io/) generator to author libraries in ES2015 (and beyond!) for Node. | ||
This is what we use at [Callstack.io](callstack.io) for various projects. | ||
Features: | ||
- [Babel](https://babeljs.io/) and `babel-preset-env` for latest Javascript features | ||
- [Flow](https://flow.org/) for faster coding with static type checking | ||
- [Jest](https://facebook.github.io/jest/) because testing matters | ||
- [Prettier](https://github.com/prettier/prettier) to format your Javascript | ||
- [Eslint](https://github.com/eslint/eslint) and `eslint-config-airbnb` to keep your code consistent | ||
- [Husky](https://github.com/typicode/husky) and [lint-staged](https://github.com/okonet/lint-staged) to test changes before pushing | ||
This is what we use at [Callstack.io](callstack.io) for various projects, including [Haul](https://github.com/callstack-io/haul). | ||
## Install | ||
@@ -15,0 +18,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13564
34