UNPKG

@sdc-monitor/demo

Version:

<div align="center"> <a href="#" target="_blank"> <img src="https://i.loli.net/2021/07/28/EvPwd4NjVH3tBfO.jpg" alt="mito-logo" height="90"> </a> <p>A Lightweight SDK For Monitor Web</p>

105 lines (104 loc) 3.56 kB
{ "name": "@sdc-monitor/demo", "version": "0.0.11", "license": "MIT", "author": "melonlee", "scripts": { "build": "node script/build.js", "watch": "node script/build.js --watch=true", "version": "node script/version.js", "release": "node script/release.js", "examples": "cross-env NODE_ENV=demo ts-node ./examples/server/index.ts", "e2e": "`nohup ts-node ./examples/server/index.ts >/dev/null 2>&1 &` && jest --runTestsByPath ./test/e2e/JS/index.test.ts ./test/e2e/Vue/index.test.ts ./test/e2e/Vue3/index.test.ts ./test/e2e/React/index.test.ts --config jest.config.ts", "unit": "jest --config jsdom.jest.config.ts", "test": " npm run unit && npm run e2e", "e2e:mini": "jest --runTestsByPath ./test/e2e/Mini/index.test.ts --detectOpenHandles --forceExit --config jest.config.ts", "e2e:mini:performance": "jest --runTestsByPath ./test/e2e/MiniPerformance/index.test.ts --detectOpenHandles --forceExit --config jest.config.ts", "format": "prettier --write \"packages/**/*.ts?(x)\" && eslint --fix --ext .ts packages", "format:package": "prettier --write \"packages/**/package.json\"", "commit": "git add . && git cz", "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 1", "size": "filesize", "limit": "size-limit" }, "publishConfig": { "access": "public" }, "repository": { "type": "git", "url": "git+https://github.com/sdc-monitor/sdc-monitor.git" }, "keywords": [ "sdc-monitor", "error", "collect", "broswer", "miniPrograme" ], "devDependencies": { "@ampproject/filesize": "^4.3.0", "@microsoft/api-extractor": "7.18.11", "@rollup/plugin-alias": "^3.1.1", "@rollup/plugin-commonjs": "^14.0.0", "@rollup/plugin-html": "^0.2.0", "@rollup/plugin-json": "^4.1.0", "@rollup/plugin-node-resolve": "^11.2.1", "@rollup/plugin-strip": "^2.1.0", "@rollup/plugin-typescript": "^4.1.2", "@size-limit/file": "^8.1.0", "@types/express": "^4.17.9", "@types/jest": "^26.0.19", "@types/node-fetch": "^2.5.7", "@types/puppeteer": "^5.4.2", "@types/react": "^17.0.20", "@types/wechat-miniprogram": "^3.1.0", "@typescript-eslint/eslint-plugin": "^5.1.0", "@typescript-eslint/parser": "^5.1.0", "consola": "^2.15.3", "conventional-changelog": "^3.1.24", "conventional-changelog-cli": "^2.1.1", "cross-env": "^7.0.2", "cz-conventional-changelog": "^3.3.0", "eslint": "^7.4.0", "eslint-plugin-html": "^6.0.2", "execa": "^2.0.3", "express": "^4.17.1", "fs-extra": "^9.1.0", "jest": "^26.6.3", "lint-staged": "^10.2.11", "minimist": "^1.2.5", "miniprogram-automator": "^0.10.0", "msw": "^0.24.3", "open": "^7.3.0", "prettier": "^2.0.5", "puppeteer": "^5.5.0", "react": "^17.0.2", "rollup": "^2.60.2", "rollup-plugin-cleanup": "^3.2.1", "rollup-plugin-clear": "^2.0.7", "rollup-plugin-sizes": "^1.0.4", "rollup-plugin-terser": "^6.1.0", "rollup-plugin-typescript2": "^0.30.0", "rollup-plugin-visualizer": "^5.4.1", "size-limit": "^8.1.0", "ts-jest": "^26.4.4", "ts-node": "10.8.1", "tsconfig-paths": "^3.9.0", "tslib": "^2.3.1", "typescript": "^4.3" }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } }, "filesize": { "./packages/browser/dist/*.js": { "none": "24 kB" }, "./packages/wx-mini/dist/wx-mini.min.js": { "none": "28 kB" } }, "dependencies": {} }