-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
69 lines (69 loc) · 2.47 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
{
"name": "@tulies/websocket-client",
"version": "0.0.1",
"description": "An HTML5 Web Sockets client, to simplify the websocket call on the web side。一个 HTML5 的 Websocket 调用封装库,为了简化 WEB 端 webSocket 调用。",
"main": "dist/websocket-client.umd.js",
"module": "dist/websocket-client.es.js",
"typings": "dist/types/index.d.ts",
"sideEffects": false,
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/tulies/websocket-client.git"
},
"scripts": {
"lint": "eslint --ext .js,.ts --ignore-path .eslintignore .",
"lintfix": "eslint --fix --ext .js,.ts --ignore-path .eslintignore .",
"dev": "cross-env NODE_ENV=development rollup -c rollup.config.js -w",
"build": "tsc --module commonjs && cross-env NODE_ENV=production rollup -c rollup.config.js",
"release": "npm run build && standard-version --release-as patch && git push --follow-tags && npm publish",
"prebuild": "rimraf dist"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"author": "王嘉炀",
"license": "ISC",
"devDependencies": {
"@babel/core": "^7.16.7",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.7",
"@babel/plugin-proposal-object-rest-spread": "^7.16.7",
"@babel/plugin-proposal-optional-chaining": "^7.16.7",
"@babel/plugin-transform-runtime": "^7.16.7",
"@babel/preset-env": "^7.16.7",
"@babel/preset-typescript": "^7.16.7",
"@babel/runtime-corejs3": "^7.16.7",
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.1.3",
"@tulies/event-emitter": "^1.0.1",
"@typescript-eslint/eslint-plugin": "^5.9.0",
"@typescript-eslint/parser": "^5.9.0",
"autoprefixer": "^9.7.4",
"cross-env": "^7.0.3",
"eslint": "^8.6.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^4.2.5",
"lodash.camelcase": "^4.3.0",
"prettier": "^2.5.1",
"rimraf": "^3.0.2",
"rollup": "^2.63.0",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-terser": "^7.0.2",
"standard-version": "^8.0.0",
"typescript": "^4.5.4"
},
"peerDependencies": {
"@tulies/event-emitter": ">=1.0.1"
}
}