scripts/package.json

51 lines
1.4 KiB
JSON
Raw Normal View History

2022-12-31 10:15:23 +00:00
{
"name": "tw-scripts",
"version": "0.1.0",
"license": "MIT",
"scripts": {
"prepare": "husky",
2024-04-03 05:29:27 +00:00
"generate-client": "openapi --input src/lib/twhelp/openapi3.json --output src/lib/twhelp/generated --name TWHelpClient --useOptions --client axios",
2024-04-01 07:45:33 +00:00
"build": "rm -rf dist && yarn generate-client && parcel build ./src/*.user.ts ./src/*.quickbar.ts",
2024-04-01 07:48:09 +00:00
"postbuild": "PUBLIC_URL=https://scripts.twhelp.app node postbuild.js",
2023-02-01 05:49:45 +00:00
"lint": "eslint src/**/*.ts"
2022-12-31 10:15:23 +00:00
},
2023-01-29 08:43:27 +00:00
"targets": {
"default": {
"distDir": "./dist",
"sourceMap": false
}
},
2022-12-31 10:15:23 +00:00
"author": {
"name": "Dawid Wysokiński",
"email": "contact@dwysokinski.me",
"url": "https://dwysokinski.me/"
},
"browserslist": [
"since 2020-01"
2022-12-31 10:15:23 +00:00
],
"devDependencies": {
"@commitlint/cli": "^19.0.0",
"@commitlint/config-conventional": "^19.0.0",
"@parcel/validator-eslint": "^2.12.0",
"@parcel/validator-typescript": "^2.12.0",
2022-12-31 10:15:23 +00:00
"@types/jquery": "^3.5.14",
"@types/lodash": "^4.14.191",
"@types/node": "^20.0.0",
2023-02-01 05:49:45 +00:00
"@typescript-eslint/eslint-plugin": "^5.50.0",
"@typescript-eslint/parser": "^5.50.0",
"buffer": "^5.5.0",
2023-02-01 05:49:45 +00:00
"eslint": "^7.32.0",
"eslint-config-prettier": "^9.0.0",
"husky": "^9.0.0",
2024-04-01 07:45:33 +00:00
"openapi-typescript-codegen": "^0.28.0",
"parcel": "^2.12.0",
"prettier": "^3.0.0",
"typescript": "^5.0.0"
2022-12-31 10:15:23 +00:00
},
"dependencies": {
"axios": "^1.2.2",
"date-fns": "^3.0.0",
"lodash": "^4.17.21"
2022-12-31 10:15:23 +00:00
}
}