Skip to content

Commit

Permalink
Bump into v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kf99916 committed Jan 11, 2018
1 parent f677af8 commit 16d2b18
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
7 changes: 7 additions & 0 deletions build/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ export default {
plugins: plugins,
name: 'IReceipt',
external: Object.keys(pkg.dependencies),
globals: {
xml2js: 'xml2js',
'date-fns/esm': 'esm',
'aes-js': 'aesjs',
jsbarcode: 'JsBarcode',
qrcode: 'QRCode'
},
banner: `/*!
* iReceipt v${pkg.version} (${pkg.homepage})
* Copyright ${year} ${pkg.author}
Expand Down
2 changes: 1 addition & 1 deletion dist/js/ireceipt.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
{
"name": "ireceipt",
"version": "0.4.0",
"description": "Generate Taiwan's electronic receipt including QR code, bar code, and XML for National Taxation Bureau",
"version": "1.0.0",
"description":
"Generate Taiwan's electronic receipt including QR code, bar code, and XML for National Taxation Bureau",
"main": "dist/js/ireceipt.min.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "run-p build:*",
"build:js": "node_modules/.bin/rollup --environment NODE_ENV:production --config build/rollup.config.js --sourcemap",
"build:js":
"node_modules/.bin/rollup --environment NODE_ENV:production --config build/rollup.config.js --sourcemap",
"dev": "run-p dev:*",
"dev:js": "node_modules/.bin/rollup --environment NODE_ENV:develop --config build/rollup.config.js --sourcemap --watch"
"dev:js":
"node_modules/.bin/rollup --environment NODE_ENV:develop --config build/rollup.config.js --sourcemap --watch"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -47,9 +50,7 @@
"url": "https://github.com/kf99916/iReceipt/issues"
},
"homepage": "https://github.com/kf99916/iReceipt",
"files": [
"dist"
],
"files": ["dist"],
"devDependencies": {
"babel-plugin-external-helpers": "~6.22",
"babel-preset-env": "~1.6",
Expand Down

0 comments on commit 16d2b18

Please sign in to comment.