Rename swcify script to build
This commit is contained in:
parent
e8b036567d
commit
6f53bded9d
4 changed files with 8 additions and 8 deletions
2
.github/CONTRIBUTING.md
vendored
2
.github/CONTRIBUTING.md
vendored
|
|
@ -27,7 +27,7 @@ npm run style -- --fix
|
|||
You can run the test suite using the following commands:
|
||||
|
||||
```sh
|
||||
npm run swcify && npm test
|
||||
npm run build && npm test
|
||||
```
|
||||
|
||||
Please ensure that the tests are passing when submitting a pull request. If you're adding new features to Tailwind, please include tests.
|
||||
|
|
|
|||
2
.github/workflows/nodejs.yml
vendored
2
.github/workflows/nodejs.yml
vendored
|
|
@ -45,7 +45,7 @@ jobs:
|
|||
run: npm install
|
||||
|
||||
- name: Build Tailwind CSS
|
||||
run: npm run swcify
|
||||
run: npm run build
|
||||
|
||||
- name: Test
|
||||
run: npm test
|
||||
|
|
|
|||
2
.github/workflows/release-insiders.yml
vendored
2
.github/workflows/release-insiders.yml
vendored
|
|
@ -42,7 +42,7 @@ jobs:
|
|||
run: npm install
|
||||
|
||||
- name: Build Tailwind CSS
|
||||
run: npm run swcify
|
||||
run: npm run build
|
||||
|
||||
- name: Test
|
||||
run: npm test
|
||||
|
|
|
|||
10
package.json
10
package.json
|
|
@ -13,11 +13,11 @@
|
|||
"tailwindcss": "lib/cli.js"
|
||||
},
|
||||
"scripts": {
|
||||
"preswcify": "npm run generate && rimraf lib",
|
||||
"swcify": "swc src --out-dir lib --copy-files",
|
||||
"postswcify": "esbuild lib/cli-peer-dependencies.js --bundle --platform=node --outfile=peers/index.js",
|
||||
"rebuild-fixtures": "npm run swcify && node -r @swc/register scripts/rebuildFixtures.js",
|
||||
"prepublishOnly": "npm install --force && npm run swcify",
|
||||
"prebuild": "npm run generate && rimraf lib",
|
||||
"build": "swc src --out-dir lib --copy-files",
|
||||
"postbuild": "esbuild lib/cli-peer-dependencies.js --bundle --platform=node --outfile=peers/index.js",
|
||||
"rebuild-fixtures": "npm run build && node -r @swc/register scripts/rebuildFixtures.js",
|
||||
"prepublishOnly": "npm install --force && npm run build",
|
||||
"style": "eslint .",
|
||||
"pretest": "npm run generate",
|
||||
"test": "jest",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue