Skip to content

Commit 854ee77

Browse files
committed
Use decorators for component
1 parent 5291cf8 commit 854ee77

File tree

8 files changed

+362
-379
lines changed

8 files changed

+362
-379
lines changed

package-lock.json

Lines changed: 18 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"vp": "npm version prerelease",
1313
"vpp": "npm version prerelease && npm publish",
1414
"preversion": "npm run test && npm run lint && npm run format",
15-
"version": "npm run build && git add -A .",
15+
"version": "npm run build && git add .",
1616
"postversion": "git push && git push --tags"
1717
},
1818
"repository": {
@@ -57,6 +57,7 @@
5757
"rollup": "^2.28.2",
5858
"rollup-plugin-typescript2": "^0.29.0",
5959
"tslib": "^2.1.0",
60-
"typescript": "^4.1.3"
60+
"typescript": "^4.1.3",
61+
"vue-class-component": "^8.0.0-rc.1"
6162
}
6263
}

rollup.config.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
import typescript from 'rollup-plugin-typescript2';
22

3-
// eslint-disable-next-line @typescript-eslint/no-var-requires
4-
const { version } = require('./package.json');
5-
const now = new Date();
3+
import { version } from './package.json';
64

5+
const now = new Date();
76
const banner = `// Copyright (c) 2020-present Techassi
87
// Use of this source code is governed by a MIT-style
98
// license that can be found in the LICENSE file.

0 commit comments

Comments
 (0)