Skip to content

Commit 6c67565

Browse files
Update package info and build scripts
1 parent a0caa42 commit 6c67565

File tree

5 files changed

+52
-3
lines changed

5 files changed

+52
-3
lines changed

build/rollup.config.js

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,25 @@
11
import buble from 'rollup-plugin-buble'
2-
import { terser } from 'rollup-plugin-terser'
32
import vue from 'rollup-plugin-vue'
3+
import { terser } from 'rollup-plugin-terser'
4+
import { version } from '../package.json'
5+
46

7+
const banner =
8+
`
9+
/*!
10+
* ion-router-vue v${version}
11+
* ${new Date().getFullYear()} Michael Tintiuc - Modus Create
12+
* @license MIT
13+
*/
14+
`
515

616
function outputConfig(suffix, format, opts={}) {
717
return Object.assign({
818
file: `./dist/ion-router-vue${suffix}.js`,
919
name: 'IonRouterVue',
1020
sourcemap: true,
1121
format,
22+
banner,
1223
}, opts)
1324
}
1425

dist/ion-router-vue.common.js

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/ion-router-vue.esm.js

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/ion-router-vue.js

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,34 @@
33
"version": "1.0.0",
44
"description": "Ion Router Vue",
55
"homepage": "https://moduscreate.com",
6-
"author": "Modus Create <contact@moduscreate.com> (http://moduscreate.com)",
6+
"author": "Michael Tintiuc <michael.tintiuc@moduscreate.com>",
7+
"user": "michaeltintiuc",
8+
"license": "MIT",
79
"repository": "github:ModusCreateOrg/ion-router-vue",
810
"main": "dist/ion-router-vue.common.js",
911
"module": "dist/ion-router-vue.esm.js",
1012
"unpkg": "dist/ion-router-vue.js",
1113
"jsdelivr": "dist/ion-router-vue.js",
12-
"license": "MIT",
1314
"files": [
1415
"src/*.js",
1516
"dist/*.js"
1617
],
18+
"bugs": {
19+
"url": "https://github.com/ModusCreateOrg/ion-router-vue/issues"
20+
},
21+
"keywords": [
22+
"ionic",
23+
"ion",
24+
"vuejs",
25+
"vue",
26+
"router",
27+
"routing",
28+
"plugin",
29+
"component",
30+
"navigation",
31+
"nav",
32+
"transition"
33+
],
1734
"scripts": {
1835
"dev": "rollup -c ./build/rollup.config.js",
1936
"watch": "rollup -w -c ./build/rollup.config.js",

0 commit comments

Comments
 (0)