Files
product_inventory/package.json
Ben Miller d34f9a1417 Fix Unexpected Keyword in MediaManager and Add Build Linting
- Fix corrupted line in src/MediaManager.html causing syntax error.
- Add ESLint integration to build process to prevent future syntax errors.
- Create .eslintrc.js with TypeScript and HTML support.
- Relax strict lint rules to accommodate existing codebase.
2025-12-31 07:02:16 -07:00

41 lines
1.1 KiB
JSON

{
"name": "product_inventory",
"version": "0.0.1",
"description": "",
"sideEffects": [
"global.ts"
],
"scripts": {
"build": "npm run lint && webpack --mode production",
"lint": "eslint \"src/**/*.{ts,js,html}\"",
"deploy": "clasp push",
"test": "jest",
"test:log": "jest > test_output.txt 2>&1",
"prepare": "husky"
},
"devDependencies": {
"@types/google-apps-script": "^1.0.85",
"@types/jest": "^30.0.0",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"copy-webpack-plugin": "^13.0.1",
"eslint": "^8.57.1",
"eslint-plugin-html": "^8.1.3",
"gas-webpack-plugin": "^2.6.0",
"graphql-tag": "^2.12.6",
"husky": "^9.1.7",
"jest": "^29.7.0",
"lint-staged": "^16.2.7",
"shopify-admin-api-typings": "github:beepmill/shopify-admin-api-typings",
"ts-jest": "^29.4.6",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"webpack": "^5.96.1",
"webpack-cli": "^5.1.4"
},
"graphql": {
"schema": "https://localhost:3001/graphql",
"documents": "**/*.{graphql,js,ts,jsx,tsx}"
}
}