1{ 2 "name": "SmartPerf", 3 "version": "1.0.0", 4 "description": "Smart Perf", 5 "main": "index.js", 6 "scripts": { 7 "set-env":"set NODE_OPTIONS=\"--max-old-space-size=4096\"", 8 "build": "webpack --mode=production --node-env=production", 9 "build:dev": "webpack --mode=development", 10 "build:prod": "webpack --mode=production --node-env=production", 11 "watch": "webpack --watch", 12 "serve": "webpack serve", 13 "compile": "node ./build.js", 14 "statics": "node ./statisticsCheck.js", 15 "test": "jest -u", 16 "test-c": "jest --coverage -u", 17 "lint": "npx eslint --ext .ts ./src/**" 18 }, 19 "jest": { 20 "testEnvironment": "jsdom", 21 "collectCoverageFrom": [ 22 "<rootDir>/src/**/*.ts", 23 "!<rootDir>/src/trace/proto/SphBaseData.js", 24 "!<rootDir>/src/trace/grpc/*.ts" 25 ], 26 "globals": { 27 "useWb": true 28 }, 29 "setupFiles": [ 30 "jest-canvas-mock" 31 ], 32 "setupFilesAfterEnv": [ 33 "<rootDir>/jest.setup.js" 34 ], 35 "moduleFileExtensions": [ 36 "ts", 37 "js", 38 "json" 39 ], 40 "transform": { 41 "\\.[jt]sx?$": "babel-jest" 42 } 43 }, 44 "repository": { 45 "type": "git", 46 "url": "" 47 }, 48 "author": "", 49 "license": "Apache License", 50 "devDependencies": { 51 "@babel/core": "^7.23.2", 52 "@babel/plugin-proposal-class-properties": "^7.16.7", 53 "@babel/plugin-proposal-decorators": "^7.17.2", 54 "@babel/preset-env": "^7.23.2", 55 "@babel/preset-typescript": "*", 56 "@types/google-protobuf": "^3.15.9", 57 "@types/jest": "*", 58 "@types/node": "^17.0.10", 59 "typescript": "^5.2.2", 60 "jest": "*", 61 "jest-canvas-mock": "^2.3.1", 62 "jest-environment-jsdom": "^28.1.0", 63 "log4js": "^6.4.4", 64 "node-fetch": "^2.6.7", 65 "autoprefixer": "^10.4.14", 66 "babel-loader": "^9.1.3", 67 "css-loader": "^6.8.1", 68 "mini-css-extract-plugin": "^2.7.6", 69 "style-loader": "^3.3.3", 70 "ts-loader": "^9.4.4", 71 "clean-webpack-plugin": "^4.0.0", 72 "copy-webpack-plugin": "^11.0.0", 73 "html-webpack-plugin": "^5.5.3", 74 "webpack": "^5.89.0", 75 "webpack-cli": "^5.1.4", 76 "webpack-dev-server": "^4.15.1", 77 "jest-worker": "^29.5.0", 78 "protobufjs": "^7.2.5", 79 "protobufjs-cli": "^1.1.2", 80 "@babel/plugin-proposal-private-methods": "^7.18.6", 81 "@babel/plugin-proposal-private-property-in-object": "^7.21.11", 82 "@babel/plugin-proposal-optional-chaining": "^7.21.0", 83 "babel-jest": "^29.7.0" 84 }, 85 "dependencies": { 86 "@webcomponents/custom-elements": "^1.6.0" 87 } 88} 89