1{ 2 "name": "netsim-app", 3 "description": "Webcomponent netsim-app following open-wc recommendations", 4 "license": "MIT", 5 "author": "netsim-app", 6 "version": "0.0.0", 7 "scripts": { 8 "lint": "eslint --ext .ts,.html . --ignore-path .gitignore && prettier \"**/*.ts\" --check --ignore-path .gitignore", 9 "format": "eslint --ext .ts,.html . --fix --ignore-path .gitignore && prettier \"**/*.ts\" --write --ignore-path .gitignore", 10 "test": "tsc && wtr --coverage", 11 "test:watch": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wtr --watch\"", 12 "analyze": "cem analyze --litelement", 13 "tsproto": "protoc --plugin=./node_modules/.bin/protoc-gen-ts_proto --ts_proto_out=./ts --proto_path=../proto --proto_path=../../../packages/modules/Bluetooth/tools/rootcanal/proto --ts_proto_opt=onlyTypes=true --ts_proto_opt=stringEnums=true netsim/model.proto", 14 "build": "tsc && cp -r ./assets ./web && rimraf dist/* && rollup -c rollup.config.mjs", 15 "start": "tsc && cp -r ./assets ./web && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wds\" \"serve /tmp/\"" 16 }, 17 "dependencies": { 18 "lit": "^2.0.2", 19 "serve": "^14.0.1", 20 "svgo": "^2.8.0" 21 }, 22 "devDependencies": { 23 "@custom-elements-manifest/analyzer": "^0.4.17", 24 "@open-wc/building-rollup": "^2.2.1", 25 "@open-wc/eslint-config": "^4.3.0", 26 "@open-wc/testing": "next", 27 "@rollup/plugin-node-resolve": "^15.0.1", 28 "@typescript-eslint/eslint-plugin": "^4.33.0", 29 "@typescript-eslint/parser": "^4.33.0", 30 "@web/dev-server": "^0.1.28", 31 "@web/rollup-plugin-copy": "^0.3.0", 32 "@web/rollup-plugin-html": "^1.11.0", 33 "@web/test-runner": "next", 34 "concurrently": "^5.3.0", 35 "eslint": "^7.32.0", 36 "eslint-config-prettier": "^8.3.0", 37 "lint-staged": "^10.5.4", 38 "postcss": "^8.4.19", 39 "postcss-url": "^10.1.3", 40 "prettier": "^2.4.1", 41 "rimraf": "^3.0.2", 42 "rollup": "^2.79.1", 43 "rollup-plugin-import-map": "^3.0.0", 44 "rollup-plugin-minify-html-literals": "^1.2.6", 45 "rollup-plugin-summary": "^2.0.0", 46 "rollup-plugin-terser": "^7.0.2", 47 "ts-proto": "^1.139.0", 48 "tslib": "^2.3.1", 49 "typescript": "^4.5.2" 50 }, 51 "eslintConfig": { 52 "parser": "@typescript-eslint/parser", 53 "extends": [ 54 "@open-wc", 55 "prettier" 56 ], 57 "plugins": [ 58 "@typescript-eslint" 59 ], 60 "rules": { 61 "no-unused-vars": "off", 62 "@typescript-eslint/no-unused-vars": [ 63 "error" 64 ], 65 "import/no-unresolved": "off", 66 "import/extensions": [ 67 "error", 68 "always", 69 { 70 "ignorePackages": true 71 } 72 ] 73 } 74 }, 75 "prettier": { 76 "singleQuote": true, 77 "arrowParens": "avoid" 78 }, 79 "lint-staged": { 80 "*.ts": [ 81 "eslint --fix", 82 "prettier --write" 83 ] 84 }, 85 "customElements": "custom-elements.json" 86} 87