mirror of
https://github.com/MillironX/setup-nextflow.git
synced 2024-11-22 09:49:56 +00:00
build: Update scripts to be more selective on files
And run on test files
This commit is contained in:
parent
205818f4d8
commit
0541993f3c
1 changed files with 4 additions and 4 deletions
|
@ -5,10 +5,10 @@
|
||||||
"main": "lib/main.js",
|
"main": "lib/main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"format": "prettier --write '**/*'",
|
"format": "prettier --write '**/*.{ts,js,yml,md,json}'",
|
||||||
"format:check": "prettier --check '**/*'",
|
"format:check": "prettier --check '**/*.{ts,js,yml,md,json}'",
|
||||||
"lint": "eslint src/**/*.ts",
|
"lint": "eslint {src,test}/**/*.ts",
|
||||||
"lint:fix": "eslint --fix src/**/*.ts",
|
"lint:fix": "eslint --fix {src,test}/**/*.ts",
|
||||||
"package": "ncc build --source-map --license LICENSE",
|
"package": "ncc build --source-map --license LICENSE",
|
||||||
"test": "ava",
|
"test": "ava",
|
||||||
"all": "npm run build && npm run format && npm run lint && npm run package && npm test"
|
"all": "npm run build && npm run format && npm run lint && npm run package && npm test"
|
||||||
|
|
Loading…
Reference in a new issue