scripts/package.json

51 lines
1.4 KiB
JSON

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