Skip to content

Commit 6cd1b55

Browse files
Boris Dorofeevnodkz
Boris Dorofeev
authored andcommitted
feat: add lua to build
1 parent 7da44db commit 6cd1b55

File tree

2 files changed

+357
-19
lines changed

2 files changed

+357
-19
lines changed

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"@typescript-eslint/eslint-plugin": "2.26.0",
3939
"@typescript-eslint/parser": "2.26.0",
4040
"bullmq": "^1.8.11",
41+
"cpx": "^1.5.0",
4142
"cross-env": "7.0.2",
4243
"eslint": "6.8.0",
4344
"eslint-config-airbnb-base": "14.1.0",
@@ -57,13 +58,15 @@
5758
"typescript": "^3.8.3"
5859
},
5960
"scripts": {
60-
"build": "rimraf lib && tsc -p ./tsconfig.build.json",
61+
"build": "rimraf lib && tsc -p ./tsconfig.build.json && yarn build-lua",
62+
"build-lua": "cpx \"src/**/*.{lua,}\" ./lib",
6163
"watch": "jest --watch",
6264
"coverage": "jest --coverage --maxWorkers 2",
6365
"lint": "yarn eslint && yarn tscheck",
6466
"eslint": "eslint --ext .ts ./src",
6567
"tscheck": "tsc --noEmit",
6668
"test": "cross-env NODE_ENV=test npm run coverage && npm run lint",
6769
"semantic-release": "semantic-release"
68-
}
70+
},
71+
"dependencies": {}
6972
}

0 commit comments

Comments
 (0)