2
0
mirror of https://github.com/iconify/iconify.git synced 2025-01-06 07:20:40 +00:00

Clean up scripts in several package.json files

This commit is contained in:
Vjacheslav Trushkin 2022-06-20 10:31:46 +03:00
parent ad72ce41a7
commit ab14b084f2
3 changed files with 5 additions and 5 deletions

View File

@ -16,10 +16,10 @@
},
"scripts": {
"lint": "eslint src/*.ts",
"prebuild": "[npm run lint",
"prebuild": "pnpm run lint",
"build": "tsup src/index.ts --dts --format esm,cjs",
"test:jest": "jest --runInBand",
"test:jasmine": "cross-env NODE_OPTIONS=--experimental-vm-modules pnpm dlx jasmine",
"test:jasmine": "cross-env NODE_OPTIONS=--experimental-vm-modules jasmine",
"test": "pnpm run test:jest && pnpm run test:jasmine"
},
"bugs": "https://github.com/iconify/iconify/issues",

View File

@ -17,8 +17,8 @@
"lint": "eslint --fix src/**/*.ts",
"prebuild": "pnpm run lint && pnpm run clean",
"build": "unbuild",
"test:jest-cjs": "jest --clearCache --config=jest.config.cjs && jest --runInBand --config=jest.config.cjs",
"test:jest-esm": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --clearCache --config=jest.config.mjs && cross-env NODE_OPTIONS=--experimental-vm-modules pnpm dlx jest --runInBand --config=jest.config.mjs",
"test:jest-cjs": "jest --clearCache --config=jest.config.cjs && jest --runInBand --config=jest.config.cjs",
"test:jest-esm": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --clearCache --config=jest.config.mjs && cross-env NODE_OPTIONS=--experimental-vm-modules jest --runInBand --config=jest.config.mjs",
"test": "pnpm run test:jest-cjs && pnpm run test:jest-esm",
"vitest": "vitest --config vitest.config.mjs"
},

View File

@ -18,7 +18,7 @@
"prebuild": "pnpm run lint && pnpm run clean",
"build": "unbuild",
"test:jest-cjs": "jest --clearCache --config=jest.config.cjs && jest --runInBand --config=jest.config.cjs",
"test:jest-esm": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --clearCache --config=jest.config.mjs && cross-env NODE_OPTIONS=--experimental-vm-modules pnpm dlx jest --runInBand --config=jest.config.mjs",
"test:jest-esm": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --clearCache --config=jest.config.mjs && cross-env NODE_OPTIONS=--experimental-vm-modules jest --runInBand --config=jest.config.mjs",
"test": "pnpm run test:jest-cjs && pnpm run test:jest-esm",
"vitest:cjs": "vitest --config vitest.config.cjs",
"vitest:esm": "vitest --config vitest.config.mjs",