| { |
| "name": "netsim-app", |
| "description": "Webcomponent netsim-app following open-wc recommendations", |
| "license": "MIT", |
| "author": "netsim-app", |
| "version": "0.0.0", |
| "scripts": { |
| "lint": "eslint --ext .ts,.html . --ignore-path .gitignore && prettier \"**/*.ts\" --check --ignore-path .gitignore", |
| "format": "eslint --ext .ts,.html . --fix --ignore-path .gitignore && prettier \"**/*.ts\" --write --ignore-path .gitignore", |
| "test": "tsc && wtr --coverage", |
| "test:watch": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wtr --watch\"", |
| "analyze": "cem analyze --litelement", |
| "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", |
| "build": "tsc && cp -r ./assets ./web && rimraf dist/* && rollup -c rollup.config.mjs", |
| "start": "tsc && cp -r ./assets ./web && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wds\" \"serve /tmp/\"" |
| }, |
| "dependencies": { |
| "lit": "^2.0.2", |
| "serve": "^14.0.1", |
| "svgo": "^2.8.0" |
| }, |
| "devDependencies": { |
| "@custom-elements-manifest/analyzer": "^0.4.17", |
| "@open-wc/building-rollup": "^2.2.1", |
| "@open-wc/eslint-config": "^4.3.0", |
| "@open-wc/testing": "next", |
| "@rollup/plugin-node-resolve": "^15.0.1", |
| "@typescript-eslint/eslint-plugin": "^4.33.0", |
| "@typescript-eslint/parser": "^4.33.0", |
| "@web/dev-server": "^0.1.28", |
| "@web/rollup-plugin-copy": "^0.3.0", |
| "@web/rollup-plugin-html": "^1.11.0", |
| "@web/test-runner": "next", |
| "concurrently": "^5.3.0", |
| "eslint": "^7.32.0", |
| "eslint-config-prettier": "^8.3.0", |
| "lint-staged": "^10.5.4", |
| "postcss": "^8.4.19", |
| "postcss-url": "^10.1.3", |
| "prettier": "^2.4.1", |
| "rimraf": "^3.0.2", |
| "rollup": "^2.79.1", |
| "rollup-plugin-import-map": "^3.0.0", |
| "rollup-plugin-minify-html-literals": "^1.2.6", |
| "rollup-plugin-summary": "^2.0.0", |
| "rollup-plugin-terser": "^7.0.2", |
| "ts-proto": "^1.139.0", |
| "tslib": "^2.3.1", |
| "typescript": "^4.5.2" |
| }, |
| "eslintConfig": { |
| "parser": "@typescript-eslint/parser", |
| "extends": [ |
| "@open-wc", |
| "prettier" |
| ], |
| "plugins": [ |
| "@typescript-eslint" |
| ], |
| "rules": { |
| "no-unused-vars": "off", |
| "@typescript-eslint/no-unused-vars": [ |
| "error" |
| ], |
| "import/no-unresolved": "off", |
| "import/extensions": [ |
| "error", |
| "always", |
| { |
| "ignorePackages": true |
| } |
| ] |
| } |
| }, |
| "prettier": { |
| "singleQuote": true, |
| "arrowParens": "avoid" |
| }, |
| "lint-staged": { |
| "*.ts": [ |
| "eslint --fix", |
| "prettier --write" |
| ] |
| }, |
| "customElements": "custom-elements.json" |
| } |