-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
34 lines (34 loc) · 1.41 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
28
29
30
31
32
33
34
{
"name": "@superfaceai/spec",
"version": "2023.01.16",
"description": "Superface Profile, Map and Provider specifications",
"main": "index.js",
"scripts": {
"test": "supermodel schema validate ./AST/supermodel/superface",
"publish-supermodel": "cd ./AST/supermodel/superface && supermodel push",
"watch:map-spec": "nodemon --exec 'spec-md > public/draft/map-spec.html' spec/draft/map-spec.md",
"watch:profile-spec": "nodemon --exec 'spec-md > public/draft/profile-spec.html' spec/draft/profile-spec.md",
"build": "yarn prepare && yarn build-provider && yarn build-superjson && yarn build-specs",
"prepare": "foreach -g 'spec/*/*.md' -x 'mkdir -p public/#{reldir}'",
"build-provider": "foreach -g 'spec/*/*.yaml' -x 'cp #{path} public/#{reldir}/#{base}'",
"build-superjson": "foreach -g 'spec/*/superjson-spec.json' -x 'cp #{path} public/#{reldir}/#{base}'",
"build-specs": "foreach -g 'spec/*/*.md' -x 'spec-md #{path} > public/#{reldir}/#{name}.html'"
},
"repository": {
"type": "git",
"url": "git+https://github.com/superfaceai/spec.git"
},
"author": "[email protected]",
"license": "MIT",
"bugs": {
"url": "https://github.com/superfaceai/spec/issues"
},
"homepage": "https://github.com/superfaceai/spec#readme",
"private": true,
"devDependencies": {
"@supermodel/cli": "^0.48.1",
"foreach-cli": "^1.8.1",
"nodemon": "^2.0.4",
"spec-md": "^1.1.1"
}
}