-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
24 lines (24 loc) · 1.06 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
"name": "datapack-linter",
"version": "2.0.0",
"description": "Processing to lint datapack with GitHub Action",
"author": "ChenCMD",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/ChenCMD/datapack-linter"
},
"scripts": {
"build": "dotenv cross-var sbt fullOptJS/webpack && mv dist/datapack-linter-opt-bundle.js dist/index.js && mv target/scala-3.4.0/scalajs-bundler/main/datapack-linter-opt.js.map dist/index.js.map && mv dist/datapack-linter-opt-bundle.js.LICENSE.txt dist/index.js.LICENSE.txt",
"build:dev": "dotenv cross-var sbt fastOptJS/webpack && mv dist/datapack-linter-fastopt-bundle.js dist/index.js && mv target/scala-3.4.0/scalajs-bundler/main/datapack-linter-fastopt.js.map dist/index.js.map",
"test-run": "node dist/index.js test/linter-config.json",
"test-gh-run": "node dist/index.js",
"dev": "yarn build:dev && rm -rf .cache/ && yarn test-run",
"sfix": "sbt scalafix",
"fmt": "sbt scalafmtAll"
},
"devDependencies": {
"cross-var": "^1.1.0",
"dotenv-cli": "^7.1.0"
}
}