mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-06-23 00:10:37 +03:00
update commands and workflows
This commit is contained in:
@@ -21,10 +21,10 @@ jobs:
|
|||||||
node-version: '18'
|
node-version: '18'
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
- name: Run Jest
|
- name: Run test
|
||||||
run: npm run jest
|
run: npm run test
|
||||||
- name: Run Playwright
|
- name: Run e2e
|
||||||
run: xvfb-run npm run playwright
|
run: xvfb-run npm run e2e
|
||||||
- name: Upload Jest Coverage
|
- name: Upload Jest Coverage
|
||||||
uses: codecov/codecov-action@v3
|
uses: codecov/codecov-action@v3
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
engine-strict=true
|
|
||||||
+7
-7
@@ -58,14 +58,17 @@
|
|||||||
"webpack": "^5.74.0"
|
"webpack": "^5.74.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "npm run test --workspace=overlayscrollbars",
|
"test": "run-p test:*",
|
||||||
"test-wrapper": "run-p test:*",
|
"test:os": "npm run test --workspace=overlayscrollbars",
|
||||||
"test:react": "npm run test --workspace=overlayscrollbars-react",
|
"test:react": "npm run test --workspace=overlayscrollbars-react",
|
||||||
"test:vue": "npm run test --workspace=overlayscrollbars-vue",
|
"test:vue": "npm run test --workspace=overlayscrollbars-vue",
|
||||||
"test:ngx": "npm run test --workspace=overlayscrollbars-ngx",
|
"test:ngx": "npm run test --workspace=overlayscrollbars-ngx",
|
||||||
"test:svelte": "npm run test --workspace=overlayscrollbars-svelte",
|
"test:svelte": "npm run test --workspace=overlayscrollbars-svelte",
|
||||||
"build": "npm run build --workspace=overlayscrollbars",
|
"e2e": "run-p e2e:*",
|
||||||
"build-wrapper": "run-p build:*",
|
"e2e:os": "npm run e2e --workspace=overlayscrollbars",
|
||||||
|
"e2e:os:dev": "npm run e2e:dev --workspace=overlayscrollbars",
|
||||||
|
"build": "run-p build:*",
|
||||||
|
"build:os": "npm run build --workspace=overlayscrollbars",
|
||||||
"build:react": "npm run build --workspace=overlayscrollbars-react",
|
"build:react": "npm run build --workspace=overlayscrollbars-react",
|
||||||
"build:vue": "npm run build --workspace=overlayscrollbars-vue",
|
"build:vue": "npm run build --workspace=overlayscrollbars-vue",
|
||||||
"build:ngx": "npm run build --workspace=overlayscrollbars-ngx",
|
"build:ngx": "npm run build --workspace=overlayscrollbars-ngx",
|
||||||
@@ -74,9 +77,6 @@
|
|||||||
"example:vue": "npm run build:vue && cd examples/vue && npm i --install-links && npm run dev",
|
"example:vue": "npm run build:vue && cd examples/vue && npm i --install-links && npm run dev",
|
||||||
"example:ngx": "npm run build:ngx && cd examples/angular && npm i --install-links && npm run start",
|
"example:ngx": "npm run build:ngx && cd examples/angular && npm i --install-links && npm run start",
|
||||||
"example:svelte": "npm run build:svelte && cd examples/svelte && npm i --install-links && npm run dev",
|
"example:svelte": "npm run build:svelte && cd examples/svelte && npm i --install-links && npm run dev",
|
||||||
"jest": "npm run jest --workspace=overlayscrollbars",
|
|
||||||
"playwright": "npm run playwright --workspace=overlayscrollbars",
|
|
||||||
"playwright:dev": "npm run test:playwright:dev --workspace=overlayscrollbars",
|
|
||||||
"lint": "eslint ./packages/**/{src,test}/**/*.{js,jsx,ts,tsx}",
|
"lint": "eslint ./packages/**/{src,test}/**/*.{js,jsx,ts,tsx}",
|
||||||
"lint:fix": "eslint --fix ./packages/**/{src,test}/**/*.{js,jsx,ts,tsx}",
|
"lint:fix": "eslint --fix ./packages/**/{src,test}/**/*.{js,jsx,ts,tsx}",
|
||||||
"prettier": "prettier --check ./packages/**/{src,test}/**/*.{js,jsx,ts,tsx}",
|
"prettier": "prettier --check ./packages/**/{src,test}/**/*.{js,jsx,ts,tsx}",
|
||||||
|
|||||||
@@ -42,14 +42,14 @@
|
|||||||
"sideEffects": ["*.css", "*.scss", "*.sass"],
|
"sideEffects": ["*.css", "*.scss", "*.sass"],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "rollup -c",
|
"build": "rollup -c",
|
||||||
"test": "jest --coverage && playwright test --grep-invert @special",
|
"test": "jest --coverage",
|
||||||
|
"e2e": "playwright test --grep-invert @special",
|
||||||
|
"e2e:dev": "playwright test --workers 1 --timeout 0 --global-timeout 0",
|
||||||
"jest": "jest --coverage --testPathPattern",
|
"jest": "jest --coverage --testPathPattern",
|
||||||
"jest:node": "jest --selectProjects node --testPathPattern",
|
"jest:node": "jest --selectProjects node --testPathPattern",
|
||||||
"jest:jsdom": "jest --selectProjects jsdom --testPathPattern",
|
"jest:jsdom": "jest --selectProjects jsdom --testPathPattern",
|
||||||
"playwright": "playwright test --grep-invert @special",
|
|
||||||
"playwright:dev": "playwright test --workers 1 --timeout 0 --global-timeout 0",
|
|
||||||
"posttest": "playwright-merge-coverage && full-coverage",
|
"posttest": "playwright-merge-coverage && full-coverage",
|
||||||
"postjest": "full-coverage",
|
"postjest": "full-coverage",
|
||||||
"postplaywright": "playwright-merge-coverage && full-coverage"
|
"poste2e": "playwright-merge-coverage && full-coverage"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user