mirror of
https://github.com/garraflavatra/trmclr.git
synced 2025-02-22 00:29:26 +00:00
Update lint script and action
This commit is contained in:
parent
267d9aacd7
commit
043259560e
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -22,5 +22,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
|
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npx eslint .
|
- run: npm run lint
|
||||||
|
- run: npm run build
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
"homepage": "https://github.com/garraflavatra/trmclr#readme",
|
"homepage": "https://github.com/garraflavatra/trmclr#readme",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "rm -rf dist && tsc && rollup index.mjs -f umd -n trmclr -o dist/index.cjs",
|
"build": "rm -rf dist && tsc && rollup index.mjs -f umd -n trmclr -o dist/index.cjs",
|
||||||
"lint": "eslint index.js"
|
"lint": "eslint index.mjs"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@garraflavatra/yeslint": "^1.2.0",
|
"@garraflavatra/yeslint": "^1.2.0",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user