anki/tslib/package.json
2020-01-06 13:10:15 +10:00

26 lines
704 B
JSON

{
"name": "anki",
"version": "0.1.0",
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^2.11.0",
"@typescript-eslint/parser": "^2.11.0",
"eslint": "^6.7.2",
"prettier": "^1.19.1",
"typescript": "^3.7.3"
},
"scripts": {
"prepare": "npm run proto; npm run build",
"build": "tsc --build tsconfig.json",
"proto": "pbjs -t static-module ../proto/backend.proto -o dist/backend_pb.js; pbts dist/backend_pb.js -o dist/backend_pb.d.ts",
"pretty": "prettier --write src/*.ts",
"check-pretty": "prettier --check src/*.ts",
"lint": "eslint --max-warnings=0 src/*"
},
"dependencies": {
"protobufjs": "^6.8.8"
},
"files": [
"dist/*"
]
}