51 lines
1.4 KiB
JSON
51 lines
1.4 KiB
JSON
{
|
|
"name": "make-workout",
|
|
"version": "0.0.0",
|
|
"license": "GPL-3.0-or-later",
|
|
"scripts": {
|
|
"lint:ts": "tsc --noEmit",
|
|
"lint:js": "eslint src/**/* .eslintrc.js",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch",
|
|
"test:1": "ts-node src/index.ts examples/threshold-pushing.txt",
|
|
"test:2": "ts-node src/index.ts examples/darth-vader.txt",
|
|
"test:comments": "ts-node src/index.ts examples/comments.txt",
|
|
"test:stats:1": "ts-node src/index.ts --stats examples/threshold-pushing.txt",
|
|
"test:stats:2": "ts-node src/index.ts --stats examples/darth-vader.txt",
|
|
"start": "ts-node src/index.ts",
|
|
"format:js": "prettier --write src/"
|
|
},
|
|
"dependencies": {
|
|
"ramda": "^0.27.1",
|
|
"xml": "^1.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@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"
|
|
}
|
|
}
|
|
}
|