zwiftout/package.json

61 lines
1.5 KiB
JSON

{
"name": "zwiftout",
"version": "0.3.0",
"license": "GPL-3.0-or-later",
"description": "Zwift workout generator command line tool and library",
"author": "Rene Saarsoo <github@triin.net>",
"repository": {
"type": "git",
"url": "https://github.com/nene/zwiftout.git"
},
"scripts": {
"lint:ts": "tsc --noEmit",
"lint:js": "eslint 'src/**/*'",
"test": "jest src/ test/",
"test:watch": "jest src/ test/ --watch",
"start": "node bin/zwiftout.js",
"format:js": "prettier --write src/",
"build": "tsc --project tsconfig.release.json",
"prepublish": "yarn build"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"zwiftout": "./bin/zwiftout.js"
},
"dependencies": {
"argparse": "^2.0.1",
"ramda": "^0.27.1",
"xml": "^1.0.1"
},
"devDependencies": {
"@types/argparse": "^2.0.0",
"@types/jest": "^26.0.14",
"@types/node": "^14.10.3",
"@types/ramda": "types/npm-ramda#dist",
"@types/xml": "^1.0.5",
"@typescript-eslint/eslint-plugin": "^4.1.1",
"@typescript-eslint/parser": "^4.1.1",
"eslint": "^7.9.0",
"eslint-config-prettier": "^6.11.0",
"husky": "^4.3.0",
"jest": "^26.4.2",
"lint-staged": "^10.4.0",
"prettier": "^2.1.2",
"ts-jest": "^26.4.0",
"ts-node": "^9.0.0",
"typescript": "^4.0.2"
},
"lint-staged": {
"src/**/*.ts": [
"prettier --write --",
"eslint --fix"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}