48 lines
1.2 KiB
JSON
48 lines
1.2 KiB
JSON
{
|
|
"name": "weapp-socket.io",
|
|
"version": "3.0.4",
|
|
"keywords": [
|
|
"mp-weixin",
|
|
"websocket",
|
|
"socket.io",
|
|
"微信小程序"
|
|
],
|
|
"files": [
|
|
"lib/",
|
|
"dist/"
|
|
],
|
|
"main": "./dist/uni-socket.io.js",
|
|
"types": "./types/index.d.ts",
|
|
"scripts": {
|
|
"prepublishOnly": "rm -rf ./dist && npm run build",
|
|
"build-dev": "webpack --config webpack.config.dev.js --watch",
|
|
"build": "webpack --config webpack.config.js"
|
|
},
|
|
"dependencies": {
|
|
"@babel/plugin-transform-modules-commonjs": "^7.26.3",
|
|
"@babel/preset-env": "^7.26.9",
|
|
"@socket.io/component-emitter": "^3.1.2",
|
|
"engine.io-parser": "^5.2.3",
|
|
"socket.io-client": "^4.0.0",
|
|
"yeast": "^0.1.2"
|
|
},
|
|
"devDependencies": {
|
|
"babel-core": "^6.24.1",
|
|
"babel-eslint": "4.1.7",
|
|
"babel-loader": "7.0.0",
|
|
"babel-preset-env": "^1.7.0",
|
|
"babel-preset-es2015": "6.24.1",
|
|
"component-inherit": "^0.0.3",
|
|
"eslint-config-prettier": "^8.1.0",
|
|
"eslint-config-standard": "4.4.0",
|
|
"eslint-plugin-standard": "1.3.1",
|
|
"imports-loader": "^0.7.1",
|
|
"string-replace-loader": "^3.1.0",
|
|
"strip-loader": "0.1.2",
|
|
"webpack": "^4.12.0",
|
|
"webpack-cli": "^3.0.8",
|
|
"webpack-merge": "4.1.2",
|
|
"webpack-stream": "3.2.0"
|
|
}
|
|
}
|