|
4 | 4 | "description": "draggable component for vue", |
5 | 5 | "license": "MIT", |
6 | 6 | "main": "dist/vuedraggable.umd.min.js", |
7 | | - "types": "src/vuedraggable.d.ts", |
| 7 | + "types": "types/vuedraggable.d.ts", |
8 | 8 | "repository": { |
9 | 9 | "type": "git", |
10 | 10 | "url": "https://github.com/SortableJS/Vue.Draggable.git" |
|
15 | 15 | "build:doc": "vue-cli-service build ./example/main.js --dest docs --mode development", |
16 | 16 | "build": "vue-cli-service build --name vuedraggable --entry ./src/vuedraggable.js --target lib", |
17 | 17 | "lint": "vue-cli-service lint src example", |
18 | | - "prepublishOnly": "npm run lint && npm run test:unit && npm run build:doc && npm run build", |
| 18 | + "prepublishOnly": "npm run lint && npm run test:unit && npm run build:doc && npm run build:type && npm run build", |
19 | 19 | "test:unit": "vue-cli-service test:unit --coverage", |
20 | | - "test:coverage": "vue-cli-service test:unit --coverage --verbose && codecov" |
| 20 | + "test:coverage": "vue-cli-service test:unit --coverage --verbose && codecov", |
| 21 | + "build:type": "tsc" |
21 | 22 | }, |
22 | 23 | "keywords": [ |
23 | 24 | "vue", |
|
37 | 38 | "vue": "^3.0.1" |
38 | 39 | }, |
39 | 40 | "devDependencies": { |
| 41 | + "@types/sortablejs": "^1.10.7", |
40 | 42 | "@vue/cli-plugin-babel": "~4.5.0", |
41 | 43 | "@vue/cli-plugin-eslint": "~4.5.0", |
42 | 44 | "@vue/cli-plugin-unit-jest": "^4.5.4", |
|
57 | 59 | "font-awesome": "^4.7.0", |
58 | 60 | "jquery": "^3.5.1", |
59 | 61 | "popper.js": "^1.16.1", |
60 | | - "typescript": "^4.0.3", |
| 62 | + "typescript": "^4.3.5", |
61 | 63 | "vue": "^3.0.1", |
62 | 64 | "vue-jest": "^5.0.0-alpha.5", |
63 | 65 | "vue-router": "^4.0.0-beta.13", |
|
91 | 93 | "dist/*.css", |
92 | 94 | "dist/*.map", |
93 | 95 | "dist/*.js", |
| 96 | + "types/*", |
94 | 97 | "src/*" |
95 | 98 | ], |
96 | 99 | "module": "dist/vuedraggable.umd.js" |
|
0 commit comments