generated from OpenTermsArchive/template-declarations
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
22 lines (22 loc) · 944 Bytes
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"type": "module",
"license": "AGPL-3.0",
"scripts": {
"lint": "ota lint",
"lint:fix": "ota lint -- --fix",
"test": "ota lint && ota validate",
"test:schema": "ota validate --schema-only",
"test:modified": "ota validate --modified",
"start": "ota track",
"start:collection-api": "ota serve",
"start:schedule": "npm run start -- --schedule",
"start:federation-api": "ota-federation-api serve",
"start:modified": "git diff -z --name-only HEAD $(git merge-base HEAD origin/main) -- ./declarations/ | tr '\\0' '\\n' | grep -v .history | grep -v .filters | sed 's/declarations\\///g' | sed 's/.json//g' | sed 's/.*/\"&\"/' | xargs -r npm run start -- --services",
"dataset": "ota dataset",
"dataset:schedule": "npm run dataset -- --publish --remove-local-copy --schedule"
},
"dependencies": {
"@opentermsarchive/engine": "^4.0.0",
"@opentermsarchive/federation-api": "~2.1.0"
}
}