-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
34 lines (34 loc) · 1.08 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": "gs1-schema-dts",
"version": "0.1.0",
"description": "TypeScript types for the GS1 web vocabulary (https://www.gs1.org/voc/)",
"main": "dist/schema.js",
"bin": {
"gs1data": "dist/cli.js"
},
"types": "dist/schema.d.ts",
"scripts": {
"prepare": "mkdirp dist/",
"build:cli": "esbuild bin/cli.ts --minify --bundle --banner:js=\"#!/usr/bin/env node\" --platform=node --format=cjs --outfile=dist/cli.js",
"build:schema": "schema-dts-gen --ontology=https://schema.org/version/latest/schemaorg-all-https.nt --verbose --context https://www.gs1.org/voc/ > lib/schema.ts",
"build:type": "tsc",
"build": "npm run build:schema && npm run build:type && npm run build:cli"
},
"author": "hawyar",
"files": [
"dist/schema.d.ts",
"dist/schema.js"
],
"devDependencies": {
"@types/node": "^17.0.14",
"@typescript-eslint/eslint-plugin": "^5.10.2",
"@typescript-eslint/parser": "^5.10.2",
"eslint": "^8.8.0",
"mkdirp": "^1.0.4",
"schema-dts-gen": "^1.0.0"
},
"dependencies": {
"arg": "^5.0.1",
"jsonld": "^5.2.0"
}
}