Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
44 lines (44 loc) · 1.52 KB
/
Copy pathpackage.json
File metadata and controls
44 lines (44 loc) · 1.52 KB
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
{
"name": "@cloudcare/rum-uniapp",
"version": "2.0.1",
"main": "cjs/index.js",
"module": "esm/index.js",
"miniprogram": "cjs",
"types": "cjs/index.d.ts",
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/preset-env": "^7.12.10",
"ali-oss": "^6.12.0",
"npm-run-all": "^4.1.5",
"replace-in-file": "^6.1.0",
"webpack": "^5.37.0",
"webpack-cli": "^4.7.0",
"webpack-dev-server": "^3.11.2"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "run-p build:cjs build:esm build:wx",
"build:watch": "webpack --watch --config ./webpack.config.js --mode=development",
"build:wx": "rm -rf demo/miniprogram && webpack --config webpack.config.js --mode=production && npm run replace-build-env demo/miniprogram",
"build:cjs": "rm -rf cjs && babel --config-file ./babel.cjs.json --out-dir cjs ./src && npm run replace-build-env cjs",
"build:esm": "rm -rf esm && babel --config-file ./babel.esm.json --out-dir esm ./src && npm run replace-build-env esm",
"publish:npm": "npm run build && node ./scripts/publish-oss.js && npm publish --access=public",
"publish:oss:test": "npm run build && node ./scripts/publish-oss.js test",
"replace-build-env": "node scripts/replace-build-env.js"
},
"keywords": [
"dataflux",
"rum",
"sdk",
"小程序",
"miniapp"
],
"author": "dataflux",
"license": "MIT",
"repository": {
"url": "https://github.com/DataFlux-cn/datakit-miniprogram-uniapp",
"type": "git"
},
"description": "DataFlux RUM 小程序 端数据指标监控",
"dependencies": {}
}