UNPKG

@zyf2e/mitojs

Version:

A SDK for monitoring browser errors

86 lines (85 loc) 2.58 kB
{ "name": "@zyf2e/mitojs", "version": "1.2.7", "description": "A SDK for monitoring browser errors", "main": "dist/index.js", "module": "dist/index.esm.js", "types": "dist/types/src/index.d.ts", "scripts": { "build": "cross-env IGNORE=localDebug rollup --config", "watch:groot": "cross-env INCLUDE=localDebug rollup --config --watch", "watch": "rollup --config --watch", "watch:wx": "rollup --config wx.rollup.config.js --watch", "company": "rollup --config src/company/browser/rollup.company.js", "company:wx": "rollup --config src/company/wx-mini/rollup.wx.company.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 --config jest.config.ts", "unit": "jest --config jsdom.jest.config.ts", "test": " npm run unit && npm run e2e", "test:watch": "jest --watch" }, "author": "cjinhuo", "repository": { "type": "git", "url": "git+https://github.com/clouDr-f2e/mitojs.git" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "src/**/*.ts": [ "prettier --write" ] }, "keywords": [ "collect", "sdk", "error", "broswer" ], "license": "MIT", "devDependencies": { "@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": "^8.4.0", "@rollup/plugin-typescript": "^4.1.2", "@types/express": "^4.17.9", "@types/jest": "^26.0.19", "@types/node-fetch": "^2.5.7", "@types/puppeteer": "^5.4.2", "@types/wechat-miniprogram": "^3.1.0", "@typescript-eslint/eslint-plugin": "^3.6.1", "@typescript-eslint/parser": "^3.6.1", "cross-env": "^7.0.2", "cz-conventional-changelog": "^3.2.0", "eslint": "^7.4.0", "eslint-plugin-html": "^6.0.2", "express": "^4.17.1", "husky": "^4.2.5", "jest": "^26.6.3", "lint-staged": "^10.2.11", "msw": "^0.24.3", "open": "^7.3.0", "prettier": "^2.0.5", "puppeteer": "^5.5.0", "rollup": "^2.21.0", "rollup-plugin-cleanup": "^3.2.1", "rollup-plugin-clear": "^2.0.7", "rollup-plugin-terser": "^6.1.0", "rollup-plugin-typescript2": "^0.27.1", "ts-jest": "^26.4.4", "ts-node": "^9.1.1", "tsconfig-paths": "^3.9.0", "typescript": "^3.9.3" }, "dependencies": {}, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } } }