-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
27 lines (27 loc) · 1.62 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
"name": "spec-up-t-starterpack",
"version": "1.0.25",
"description": "Quick setup for a specification with the Spec-Up-T tool.",
"dependencies": {
"dotenv": "^16.4.5",
"spec-up-t": "^1.0.8"
},
"scripts": {
"edit": "node -e \"require('spec-up-t')()\"",
"render": "node -e \"require('spec-up-t')({ nowatch: true })\"",
"dev": "node -e \"require('spec-up-t')({ dev: true })\"",
"xrefs": "GITHUB_API_TOKEN=$(grep GITHUB_API_TOKEN .env | cut -d '=' -f2) node -e \"require('spec-up-t/src/get-xrefs-data.js').getXrefsData(process.env.GITHUB_API_TOKEN)\"",
"topdf": "node -e \"require('spec-up-t/src/create-pdf.js')\"",
"removexref": "node remove-xref.js",
"validatespec": "node -e \"require('spec-up-t/src/json-key-validator.js').runJsonKeyValidatorSync()\"",
"addterms": "node -e \"require('spec-up-t/src/create-term-index.js').createTermIndex()\"",
"help": "cat help.txt",
"menu": "bash ./main.sh",
"postinstall": "npm run postinstall:final",
"postinstall:final": "node postinstall-message.js && npm run printmessage",
"printmessage": "sleep 2 && node postinstall-message.js",
"freeze": "node -e \"require('spec-up-t/src/freeze.js')\"",
"references": "node -e \"require('spec-up-t/src/references.js')\"",
"publish": "node -e \"require('spec-up-t/src/create-term-index.js').createTermIndex()\" && node -e \"require('spec-up-t/src/create-pdf.js')\" && GITHUB_API_TOKEN=$(grep GITHUB_API_TOKEN .env | cut -d '=' -f2) node -e \"require('spec-up-t/src/get-xrefs-data.js').getXrefsData(process.env.GITHUB_API_TOKEN)\" && node -e \"require('spec-up-t')({ nowatch: true })\""
}
}