1fceda4724
* chore(refactor): tests use vitest and msw * fix(directory): Ensure filenames conform to eslint requirements * chore(yarn): Specify node engine version * fix(yarn): use the proper nodelinker * fix(GitHub workflow): yarn install with caching * docs(README): update to match changes --------- Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
63 lines
2.2 KiB
JSON
63 lines
2.2 KiB
JSON
{
|
|
"name": "speckle-automate-github-action",
|
|
"author": "Speckle Systems",
|
|
"version": "0.0.0",
|
|
"description": "Speckle Automate Github Action",
|
|
"packageManager": "yarn@3.5.0",
|
|
"license": "Apache-2.0",
|
|
"main": "lib/main.js",
|
|
"type": "module",
|
|
"scripts": {
|
|
"all": "yarn run build && yarn run prettier:check && yarn run lint && yarn run package && yarn run package:mockserver && yarn run test",
|
|
"build": "tsc -p tsconfig.json",
|
|
"build:image": "docker build -t speckle/speckle-automate-github-action:local .",
|
|
"lint": "eslint src/**/*.ts",
|
|
"package": "ncc build --target es2020 --source-map --license licenses.txt -o dist/action src/main.ts",
|
|
"package:mockserver": "ncc build --target es2020 --source-map --license licenses.txt -o dist/testing/mockserver src/tests/mock-server.ts",
|
|
"precommit": "pre-commit run --all-files",
|
|
"prettier:check": "prettier --check '**/*.ts'",
|
|
"prettier:fix": "prettier --write '**/*.ts'",
|
|
"run:mockserver": "node dist/testing/mockserver/index.js",
|
|
"test": "vitest --run --coverage",
|
|
"test:watch": "vitest"
|
|
},
|
|
"engines": {
|
|
"node": "^16.19.1"
|
|
},
|
|
"dependencies": {
|
|
"@actions/core": "^1.10.0",
|
|
"node-fetch": "^3.3.1",
|
|
"zod": "^3.21.4",
|
|
"zod-validation-error": "^1.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/js-yaml": "^4.0.5",
|
|
"@types/node": "^18.15.5",
|
|
"@typescript-eslint/eslint-plugin": "^5.56.0",
|
|
"@typescript-eslint/parser": "^5.56.0",
|
|
"@vercel/ncc": "^0.36.1",
|
|
"@vitest/coverage-istanbul": "^0.29.7",
|
|
"eslint": "^8.36.0",
|
|
"eslint-import-resolver-typescript": "^3.5.3",
|
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
"eslint-plugin-filenames": "latest",
|
|
"eslint-plugin-github": "^4.6.1",
|
|
"eslint-plugin-i18n-text": "^1.0.1",
|
|
"eslint-plugin-import": "^2.27.5",
|
|
"eslint-plugin-no-only-tests": "^3.1.0",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"eslint-plugin-vitest": "^0.0.54",
|
|
"get-port-please": "^3.0.1",
|
|
"h3": "^1.6.2",
|
|
"js-yaml": "^4.1.0",
|
|
"listhen": "^1.0.4",
|
|
"msw": "^1.2.0",
|
|
"pino": "^8.11.0",
|
|
"pino-pretty": "^10.0.0",
|
|
"prettier": "^2.8.6",
|
|
"typescript": "^5.0.2",
|
|
"vite": "^4.2.1",
|
|
"vitest": "^0.29.7"
|
|
}
|
|
}
|