third_party.pigweed.src/package.json
Asad Memon 84632a32cf pw_web: Fix type definition errors by keeping them unbundled instead
Bundling is usually recommended but the structure of Pigweed was
causing duplications in the bundled d.ts file. Which resulted in type
mismatches downstream.

Change-Id: I43cfb41573f85e79507a2fb007a95a8cb8f7f27c
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/108710
Reviewed-by: Anthony DiGirolamo <tonymd@google.com>
Commit-Queue: Asad Memon <asadmemon@google.com>
2022-08-31 17:43:07 +00:00

89 lines
2.5 KiB
JSON

{
"name": "pigweedjs",
"version": "0.0.5",
"description": "An open source collection of embedded-targeted libraries",
"author": "The Pigweed Authors",
"license": "Apache-2.0",
"types": "./dist/types/ts/index.d.ts",
"exports": {
".": "./dist/index.mjs",
"./protos": "./dist/protos/collection.umd.js",
"./protos/*": "./dist/protos/*"
},
"bin": {
"pw_protobuf_compiler": "./dist/bin/pw_protobuf_compiler.js"
},
"scripts": {
"prebuild": "rimraf dist && npm run build-protos",
"build-protos": "ts-node -P tsconfig.json ts/buildprotos.ts",
"build": "npm run rollup",
"dev": "rollup -c -w",
"rollup": "rollup -c && npm run postbuild",
"postbuild": "rimraf dist/protos/types && chmod +x ./dist/bin/pw_protobuf_compiler.js",
"start": "tsc-watch --onSuccess \"rollup -c\"",
"check": "gts check",
"fix": "gts fix",
"test": "npm run build && jest --silent",
"jest": "jest"
},
"devDependencies": {
"@grpc/grpc-js": "^1.3.7",
"@material-ui/core": "^4.12.1",
"@material-ui/lab": "^4.0.0-alpha.60",
"@rollup/plugin-commonjs": "^19.0.0",
"@rollup/plugin-node-resolve": "^13.3.0",
"@rollup/plugin-typescript": "^8.3.3",
"@types/crc": "^3.4.0",
"@types/google-protobuf": "^3.15.5",
"@types/jest": "^28.1.4",
"@types/node": "^16.0.1",
"@types/react": "^17.0.14",
"@types/react-dom": "^17.0.9",
"ansi_up": "^5.1.0",
"arg": "^5.0.2",
"base64-js": "^1.5.1",
"buffer": "^6.0.3",
"crc": "^4.1.1",
"debug": "^4.3.2",
"eslint": "^7.30.0",
"eslint-plugin-react": "^7.24.0",
"grpc-tools": "^1.11.2",
"grpc-web": "^1.2.1",
"gts": "^3.1.0",
"html-react-parser": "^1.4.0",
"http-server": "^13.0.2",
"install-peers": "^1.0.3",
"jest-environment-jsdom": "^28.1.3",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"requirejs": "^2.3.6",
"rimraf": "^3.0.2",
"rollup": "^2.52.8",
"rollup-plugin-dts": "^4.2.2",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-globals": "^1.4.0",
"rollup-plugin-node-polyfills": "^0.2.1",
"rollup-plugin-sourcemaps": "^0.6.3",
"rxjs": "^7.2.0",
"tmp": "0.2.1",
"ts-jest": "^28.0.5",
"ts-node": "^10.8.1",
"tsc-watch": "^5.0.3",
"tslib": "^2.4.0",
"typescript": "^4.3.5"
},
"dependencies": {
"@protobuf-ts/protoc": "^2.7.0",
"google-protobuf": "^3.17.3",
"object-path": "^0.11.8",
"ts-protoc-gen": "^0.15.0"
},
"config": {
"protocVersion": "3.17.3"
},
"files": [
"dist",
"README.md"
]
}