We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f3712f commit 2c34f21Copy full SHA for 2c34f21
package.json
@@ -7,10 +7,11 @@
7
"test": "echo \"Error: no test specified\" && exit 1",
8
"code-test": "npm run prodBuild && npm run eslint",
9
"build": "npx rollup -c",
10
- "prodBuild": "export NODE_ENV=\"production\"&&npm run build",
+ "prodBuild": "export NODE_ENV=\"production\"&&npm run build&&npm run patch",
11
"watch": "export NODE_ENV=\"development\"&&npm run build -- --watch",
12
"eslint": "npx eslint ./src/**/*.ts ./src/*.ts ./*.js",
13
- "eslint:fix": "npm run eslint -- --fix"
+ "eslint:fix": "npm run eslint -- --fix",
14
+ "patch": "sed -i 's/buildings/.\\/buildings/' ./dist/gameType.d.ts"
15
},
16
"husky": {
17
"hooks": {
0 commit comments