@toolproof-npm/schema 0.1.12 → 0.1.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +1 -0
  2. package/package.json +51 -46
package/README.md CHANGED
@@ -56,3 +56,4 @@ pnpm run update
56
56
  ## License
57
57
 
58
58
  MIT
59
+
package/package.json CHANGED
@@ -1,47 +1,52 @@
1
- {
2
- "name": "@toolproof-npm/schema",
3
- "version": "0.1.12",
4
- "description": "JSON schemas and TypeScript types for ToolProof",
5
- "keywords": ["toolproof", "schemas", "json-schema", "typescript"],
6
- "author": "ToolProof Team",
7
- "license": "MIT",
8
- "repository": {
9
- "type": "git",
10
- "url": "https://github.com/ToolProof/core.git",
11
- "directory": "packages/_schemas"
12
- },
13
- "homepage": "https://github.com/ToolProof/core#readme",
14
- "bugs": {
15
- "url": "https://github.com/ToolProof/core/issues"
16
- },
17
- "type": "module",
18
- "main": "dist/index.js",
19
- "types": "dist/index.d.ts",
20
- "exports": {
21
- ".": {
22
- "import": "./dist/index.js",
23
- "types": "./dist/index.d.ts"
24
- }
25
- },
26
- "scripts": {
27
- "build": "tsc -b",
28
- "build:scripts": "tsc -p tsconfig.scripts.json",
29
- "extractSchemas": "node ./dist/scripts/extractSchemas.js",
30
- "extractSubschema": "node ./dist/scripts/extractSubschemaWithDefs.js",
31
- "generateTypes": "node ./dist/scripts/generateTypes.js",
32
- "generateResourceData": "node ./dist/scripts/generateResourceData.js",
33
- "update": "rimraf /s /q dist && pnpm run build:scripts && pnpm run extractSchemas -- --in src/genesis/Genesis.json --out src/schemas/Genesis.json --id 'https://schemas.toolproof.com/v0/Genesis.json' && pnpm run extractSubschema -- --name Job && pnpm run generateTypes && pnpm run generateResourceData -- --name Job && pnpm run build"
34
- },
35
- "files": [
36
- "dist",
37
- "README.md"
38
- ],
39
- "devDependencies": {
40
- "@apidevtools/json-schema-ref-parser": "^14.2.1",
41
- "@types/node": "^20.8.1",
42
- "ajv-cli": "^5.0.0",
43
- "ajv-formats": "^3.0.1",
44
- "json-schema-to-typescript": "^15.0.4",
45
- "typescript": "^5.0.0"
46
- }
1
+ {
2
+ "name": "@toolproof-npm/schema",
3
+ "version": "0.1.14",
4
+ "description": "JSON schemas and TypeScript types for ToolProof",
5
+ "keywords": [
6
+ "toolproof",
7
+ "schemas",
8
+ "json-schema",
9
+ "typescript"
10
+ ],
11
+ "author": "ToolProof Team",
12
+ "license": "MIT",
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "https://github.com/ToolProof/core.git",
16
+ "directory": "packages/_schemas"
17
+ },
18
+ "homepage": "https://github.com/ToolProof/core#readme",
19
+ "bugs": {
20
+ "url": "https://github.com/ToolProof/core/issues"
21
+ },
22
+ "type": "module",
23
+ "main": "dist/index.js",
24
+ "types": "dist/index.d.ts",
25
+ "exports": {
26
+ ".": {
27
+ "import": "./dist/index.js",
28
+ "types": "./dist/index.d.ts"
29
+ }
30
+ },
31
+ "files": [
32
+ "dist",
33
+ "README.md"
34
+ ],
35
+ "devDependencies": {
36
+ "@apidevtools/json-schema-ref-parser": "^14.2.1",
37
+ "@types/node": "^20.8.1",
38
+ "ajv-cli": "^5.0.0",
39
+ "ajv-formats": "^3.0.1",
40
+ "json-schema-to-typescript": "^15.0.4",
41
+ "typescript": "^5.0.0"
42
+ },
43
+ "scripts": {
44
+ "build": "tsc -b",
45
+ "build:scripts": "tsc -p tsconfig.scripts.json",
46
+ "extractSchemas": "node ./dist/scripts/extractSchemas.js",
47
+ "extractSubschema": "node ./dist/scripts/extractSubschemaWithDefs.js",
48
+ "generateTypes": "node ./dist/scripts/generateTypes.js",
49
+ "generateResourceData": "node ./dist/scripts/generateResourceData.js",
50
+ "update": "rimraf /s /q dist && pnpm run build:scripts && pnpm run extractSchemas -- --in src/genesis/Genesis.json --out src/schemas/Genesis.json --id 'https://schemas.toolproof.com/v0/Genesis.json' && pnpm run extractSubschema -- --name Job && pnpm run generateTypes && pnpm run generateResourceData -- --name Job && pnpm run build"
51
+ }
47
52
  }