-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
83 lines (83 loc) · 2.39 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"name": "vue-tweet",
"description": "Embed tweets just by giving the ID of a Tweet",
"version": "2.3.1",
"type": "module",
"files": [
"dist"
],
"types": "./dist/vue-tweet.vue.d.ts",
"main": "./dist/vue-tweet.umd.cjs",
"module": "./dist/vue-tweet.js",
"exports": {
".": {
"import": {
"types": "./dist/vue-tweet.vue.d.ts",
"default": "./dist/vue-tweet.js"
},
"require": {
"types": "./dist/vue-tweet.vue.cts",
"default": "./dist/vue-tweet.umd.cjs"
}
}
},
"scripts": {
"dev": "vite",
"build": "run-p type-check \"build-only {@}\" --",
"preview": "vite preview",
"build-only": "vite build",
"generate-types": "vue-tsc --declaration --emitDeclarationOnly src/vue-tweet.vue --declarationDir dist && npm run copy-types",
"type-check": "vue-tsc --build --force",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
"generate-tag": "np --no-2fa --no-tests --no-publish",
"publish-package": "npm run type-check && npm run build && npm run generate-types && npm run generate-tag && npm publish --access public",
"copy-types": "cp ./dist/vue-tweet.vue.d.ts ./dist/vue-tweet.vue.cts",
"prepare": "husky install"
},
"peerDependencies": {
"vue": "^3.4.27"
},
"devDependencies": {
"@rushstack/eslint-patch": "^1.3.3",
"@tsconfig/node20": "^20.1.2",
"@types/node": "^20.11.28",
"@vitejs/plugin-vue": "^5.0.5",
"@vue/eslint-config-typescript": "^12.0.0",
"@vue/tsconfig": "^0.5.1",
"eslint": "^8.49.0",
"eslint-plugin-vue": "^9.17.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"np": "^10.0.2",
"npm-run-all2": "^6.1.2",
"typescript": "~5.4.5",
"vite": "^5.2.13",
"vite-plugin-dts": "^3.9.1",
"vite-plugin-vue-devtools": "^7.0.18",
"vue-tsc": "^2.0.21"
},
"keywords": [
"vue",
"vue-2",
"vue-3",
"vue-tweet",
"vue3-tweet",
"vue-tweet",
"twitter-tweet",
"embed",
"twitter",
"twitter-widget",
"twitter-embed",
"vue-tweet"
],
"author": "Danny Feliz <dannyfeliz08@gmail.com>",
"license": "MIT",
"bugs": "https://github.com/DannyFeliz/vue-tweet/issues/new",
"repository": {
"type": "git",
"url": "https://github.com/DannyFeliz/vue-tweet"
},
"lint-staged": {
"*.{vue,js,jsx,cjs,mjs,ts,tsx,cts,mts}": "eslint --cache --fix"
}
}