add lint scripts

This commit is contained in:
Chris Waring 2021-02-12 14:56:31 +00:00
parent 2bd32ee3c0
commit fbb913c044
No known key found for this signature in database
GPG Key ID: 4D2E767CC8B1C083

View File

@ -19,6 +19,8 @@
"scripts": {
"dev": "NODE_TLS_REJECT_UNAUTHORIZED=0 node . --unhandled-rejections=strict --max-old-space-size=8192",
"start": "NODE_ENV=production node . --unhandled-rejections=strict --max-old-space-size=8192",
"lint": "eslint **/*.js",
"lint:fix": "npm run lint -- --fix",
"build": "NODE_ENV=production next build",
"build-system": "rollup -c",
"scripts": "NODE_TLS_REJECT_UNAUTHORIZED=0 node --max-old-space-size=8192 ./scripts",