File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 3
3
"version" : " 2.1.14" ,
4
4
"description" : " Vue typescript class and decorator based component." ,
5
5
"main" : " dist/index.js" ,
6
+ "module" : " dist/esm/index.js" ,
6
7
"keywords" : [
7
8
" vue" ,
8
9
" class" ,
15
16
" vue component decorator"
16
17
],
17
18
"scripts" : {
18
- "test-build" : " npm run build && npm run test" ,
19
- "test" : " ./node_modules/.bin/mocha -r ts-node/register test/test.ts" ,
20
- "build" : " ./node_modules/.bin/tsc" ,
19
+ "test-build" : " npm run test && npm run build" ,
20
+ "test" : " mocha -r ts-node/register test/test.ts" ,
21
+ "build" : " npm run build:cjs && npm run build:esm" ,
22
+ "build:cjs" : " ./node_modules/.bin/tsc" ,
23
+ "build:esm" : " ./node_modules/.bin/tsc -outDir dist/esm -module ES6" ,
21
24
"lint" : " eslint ." ,
22
25
"lint:fix" : " eslint . --fix"
23
26
},
You can’t perform that action at this time.
0 commit comments