Verify content of dist/ folder matches build output

This commit is contained in:
Michal Dorner 2022-11-13 12:39:16 +01:00
parent 3cca7492d0
commit 59de73d003
No known key found for this signature in database
GPG key ID: 7325B8B59CA1B65C
5 changed files with 94 additions and 4 deletions

View file

@ -9,7 +9,7 @@
"format": "prettier --write **/*.ts",
"format-check": "prettier --check **/*.ts",
"lint": "eslint src/**/*.ts",
"package": "ncc build --source-map --license licenses.txt",
"package": "ncc build --source-map --license licenses.txt && eolConverter lf dist/*",
"test": "jest --ci --reporters=default --reporters=jest-junit",
"all": "npm run build && npm run format && npm run lint && npm run package && npm test",
"dart-fixture": "cd \"reports/dart\" && dart test --file-reporter=\"json:../../__tests__/fixtures/dart-json.json\"",
@ -52,6 +52,7 @@
"@typescript-eslint/eslint-plugin": "^5.33.1",
"@typescript-eslint/parser": "^5.33.1",
"@vercel/ncc": "^0.34.0",
"eol-converter-cli": "^1.0.8",
"eslint": "^8.22.0",
"eslint-import-resolver-typescript": "^3.4.2",
"eslint-plugin-github": "^4.1.2",