diff options
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/package.json b/package.json new file mode 100644 index 0000000..4277fb7 --- /dev/null +++ b/package.json @@ -0,0 +1,47 @@ +{ + "name": "avr8js", + "version": "0.1.0", + "main": "dist/index.js", + "typings": "dist/index.d.ts", + "author": "Uri Shaked <uri@urishaked.com>", + "repository": "https://github.com/wokwi/avr8js", + "license": "MIT", + "scripts": { + "build": "tsc", + "prepare": "npm run build", + "start": "ts-node src/main.ts", + "lint": "tslint --project tsconfig.json", + "test": "jest" + }, + "files": [ + "dist" + ], + "devDependencies": { + "@types/jest": "^24.0.23", + "@types/node": "^12.12.7", + "husky": "^3.0.9", + "jest": "^24.9.0", + "lint-staged": "^9.4.2", + "prettier": "^1.19.1", + "ts-jest": "^24.1.0", + "ts-node": "^8.5.0", + "tslint": "^5.20.1", + "typescript": "^3.7.2" + }, + "husky": { + "hooks": { + "pre-commit": "lint-staged" + } + }, + "lint-staged": { + "src/**/*.{ts,tsx}": [ + "tslint --project tsconfig.spec.json -c tslint.commit.json --fix", + "prettier --write", + "git add" + ] + }, + "engines": { + "node": ">= 8.0.0", + "npm": ">= 5.0.0" + } +} |
