-
Notifications
You must be signed in to change notification settings - Fork 37
/
package.json
79 lines (79 loc) · 2.03 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
{
"name": "vue-sse",
"version": "2.5.2",
"description": "A Vue plugin for using Server-Sent Events (EventSource)",
"main": "dist/vue-sse.common.js",
"exports": {
".": {
"module": "./dist/vue-sse.esm.js",
"require": "./dist/vue-sse.common.js",
"import": "./dist/vue-sse.mjs"
},
"./": "./"
},
"module": "dist/vue-sse.esm.js",
"typings": "types/index.d.ts",
"unpkg": "dist/vue-sse.js",
"jsdelivr": "dist/vue-sse.js",
"sideEffects": [
"./src/sse-client.js"
],
"files": [
"dist",
"types/*.d.ts"
],
"scripts": {
"build": "rollup -c rollup.config.js",
"format": "prettier --write \"src/**/*.js\"",
"lint": "eslint src test",
"postversion": "git push && git push --tags",
"prepare": "npm run build",
"prepublishOnly": "npm test && npm run lint",
"preversion": "npm run lint",
"test": "npm run lint && npm run test:unit",
"test:unit": "jest",
"test:types": "tsc -p types/test",
"version": "npm run format && git add -A src"
},
"repository": {
"type": "git",
"url": "git+https://github.com/tserkov/vue-sse.git"
},
"keywords": [
"vue",
"sse",
"eventsource",
"server sent events"
],
"author": "tserkov",
"license": "MIT",
"bugs": {
"url": "https://github.com/tserkov/vue-sse/issues"
},
"homepage": "https://github.com/tserkov/vue-sse",
"dependencies": {
"event-source-polyfill": "^1.0.22"
},
"peerDependencies": {
"vue": "^2.0.0 || ^3.0.0"
},
"devDependencies": {
"@babel/core": "^7.12.17",
"@babel/preset-env": "^7.12.17",
"@rollup/plugin-buble": "^0.21.3",
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-node-resolve": "^11.2.0",
"@vue/test-utils": "^1.1.4",
"babel-jest": "^26.6.3",
"babel-loader": "^8.2.2",
"eslint": "^7.20.0",
"eslint-plugin-vue": "^7.6.0",
"jest": "^26.6.3",
"mocksse": "^1.0.2",
"rollup": "^2.37.1",
"rollup-plugin-terser": "^7.0.2",
"typescript": "^4.1.5",
"vue": "^2.6.12",
"vue-loader": "^15.9.6"
}
}