hirasaki-npm-test
Advanced tools
Comparing version 0.0.3 to 0.0.4
{ | ||
"name": "hirasaki-npm-test", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "my test package", | ||
"main": "index.js", | ||
"main": "dist/index.js", | ||
"bin": { | ||
"hirasaki-npm-test": "bin/hirasaki-npm-test" | ||
"hirasaki-npm-test": "dist/bin.js" | ||
}, | ||
"scripts": { | ||
"test:module": "babel-node test/index.js", | ||
"test:bin": "babel-node src/bin.js", | ||
"build:module": "babel src/index.js -o dist/index.js", | ||
"build:bin": "babel src --out-file dist/bin/hirasaki-npm-test", | ||
"build": "babel src --out-dir dist", | ||
"build:test": "node dist/index.js && node dist/bin.js", | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
@@ -11,0 +17,0 @@ }, |
# Npm Test Module | ||
## develop | ||
### module | ||
#### test | ||
``` | ||
$ npm run test:module | ||
``` | ||
## bin | ||
### develop | ||
#### test | ||
``` | ||
$ npm run test:bin | ||
``` | ||
## build | ||
``` | ||
$ npm run build | ||
``` | ||
### build test | ||
``` | ||
$ npm run build:test | ||
``` | ||
## Usage | ||
### index.js | ||
``` | ||
var hirasaki_npm_test = require('hirasaki-npm-test') | ||
hirasaki_npm_test() | ||
``` | ||
``` | ||
$ node index.js | ||
``` | ||
## exec bin | ||
``` | ||
$ ./node_modules/.bin/hirasaki-npm-test | ||
``` | ||
## 参考 | ||
@@ -4,0 +45,0 @@ * [npm パッケージを作って公開してみた](http://neos21.hatenablog.com/entry/2017/08/10/080000) |
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
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
3658
6
33
53
0