Skip to content

Commit 96426ec

Browse files
committed
- Add version to metadata
- add PDF script for parity with ECMA-262
1 parent 65cb5f1 commit 96426ec

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"prebuild-only": "npm run clean && mkdir out && cp -R img out",
1010
"build-only": "npm run build-to -- out/index.html --assets-dir=out",
1111
"build": "npm run build-only -- --lint-spec --strict",
12-
"build-for-pdf": "npm run build -- --old-toc",
12+
"build-for-pdf": "npm run build -- --printable",
13+
"pdf": "npm run build-for-pdf && prince --script ./node_modules/ecmarkup/js/print.js out/index.html -o out/ECMA-402.pdf",
1314
"test": "npm run build-to -- /dev/null --lint-spec --strict",
1415
"watch": "npm run build-only -- --lint-spec --watch"
1516
},

spec/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
shortname: ECMA-402
3232
status: draft
3333
location: https://tc39.es/ecma402/
34+
version: 13th Edition
3435
</pre>
3536
<p><img src="img/ecma-logo.svg" id="ecma-logo"></p>
3637
<emu-import href="metablock.html"></emu-import>

0 commit comments

Comments
 (0)