Comparing version 0.0.2 to 0.1.0
@@ -1,1 +0,1 @@ | ||
module.exports = require('./dist/index'); | ||
module.exports = require('./dist/gensen'); |
{ | ||
"name": "gensen", | ||
"version": "0.0.2", | ||
"version": "0.1.0", | ||
"description": "日本の源泉徴収税計算用ライブラリです", | ||
@@ -11,3 +11,3 @@ "main": "index.js", | ||
"scripts": { | ||
"build": "tsc", | ||
"build": "webpack -p", | ||
"test": "rm -dr ./build; tsc -p tsconfig.test.json && ava", | ||
@@ -24,5 +24,7 @@ "lint": "tslint -c tslint.json 'test/**/**/*.ts' 'lib/**/**/*.ts' ", | ||
"nyc": "^11.2.1", | ||
"ts-loader": "^2.3.7", | ||
"tslint": "^5.7.0", | ||
"typedoc": "^0.8.0", | ||
"typescript": "^2.5.3" | ||
"typescript": "^2.5.3", | ||
"webpack": "^3.6.0" | ||
}, | ||
@@ -29,0 +31,0 @@ "dependencies": { |
@@ -1,2 +0,2 @@ | ||
# Gensen [![CircleCI](https://circleci.com/gh/jptax/gensen/tree/master.svg?style=svg)](https://circleci.com/gh/jptax/gensen/tree/master) [![Coverage Status](https://coveralls.io/repos/github/jptax/gensen/badge.svg?branch=add_coverage)](https://coveralls.io/github/jptax/gensen?branch=add_coverage) | ||
# Gensen [![CircleCI](https://circleci.com/gh/jptax/gensen/tree/master.svg?style=svg)](https://circleci.com/gh/jptax/gensen/tree/master) [![npm version](https://badge.fury.io/js/gensen.svg)](https://badge.fury.io/js/gensen) [![Coverage Status](https://coveralls.io/repos/github/jptax/gensen/badge.svg?branch=master)](https://coveralls.io/github/jptax/gensen?branch=master) | ||
@@ -12,3 +12,17 @@ [![Join the chat at https://gitter.im/jptax/gensen](https://badges.gitter.im/jptax/gensen.svg)](https://gitter.im/jptax/gensen?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | ||
### ブラウザ | ||
- [bignumber.js](https://github.com/MikeMcl/bignumber.js/)が必要です。 | ||
```html | ||
<script src='https://cdnjs.cloudflare.com/ajax/libs/bignumber.js/4.1.0/bignumber.js'></script> | ||
<script src='dist/gensen.js'></script> | ||
<script> | ||
alert(gensen.houshu(100000).zei); | ||
</script> | ||
``` | ||
### node.js | ||
``` | ||
npm install --save gensen | ||
@@ -15,0 +29,0 @@ ``` |
{ | ||
"compilerOptions": { | ||
"module": "commonjs", | ||
"target": "es2015", | ||
"target": "es5", | ||
"outDir": "dist" | ||
@@ -6,0 +6,0 @@ }, |
{ | ||
"compilerOptions": { | ||
"module": "commonjs", | ||
"target": "es2015", | ||
"target": "es5", | ||
"sourceMap": true, | ||
@@ -6,0 +6,0 @@ "outDir": "build" |
Sorry, the diff of this file is not supported yet
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
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
171812
77
8
38
604
3