-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Meta: Refactor package.json scripts to use prebuild (#1627)
- Loading branch information
Showing
1 changed file
with
6 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,13 +5,14 @@ | |
"description": "The ECMAScript specification", | ||
"scripts": { | ||
"build-es2019": "git remote remove origin && git remote add origin \"[email protected]:$TRAVIS_REPO_SLUG.git\" && git fetch --quiet origin && git checkout --quiet es2019 && mkdir \"out/2019\" && cp -R img \"out/2019\" && ecmarkup --verbose spec.html out/2019/index.html --css out/2019/ecmarkup.css --js out/2019/ecmarkup.js && git checkout --quiet test-travis", | ||
"build-master": "mkdir out && cp -R img out && ecmarkup --verbose spec.html out/index.html --css out/ecmarkup.css --js out/ecmarkup.js", | ||
"build": "npm run clean && npm run build-master", | ||
"build-for-pdf": "npm run build -- -- -- --old-toc", | ||
"build-travis": "npm run clean && npm run build-master && npm run build-es2019", | ||
"prebuild-master": "npm run clean && mkdir out && cp -R img out", | ||
"build-master": "ecmarkup --verbose spec.html out/index.html --css out/ecmarkup.css --js out/ecmarkup.js", | ||
"build": "npm run build-master", | ||
"build-for-pdf": "npm run build-master -- --old-toc", | ||
"build-travis": "npm run build-master && npm run build-es2019", | ||
"clean": "rm -rf out", | ||
"test": "exit 0", | ||
"watch": "npm run clean && mkdir out && cp -R img out && ecmarkup --watch --verbose spec.html out/index.html --css out/ecmarkup.css --js out/ecmarkup.js" | ||
"watch": "npm run build-master -- --watch" | ||
}, | ||
"repository": "tc39/ecma262", | ||
"author": "ECMA TC39", | ||
|