|
22 | 22 | "undist": "tsx scripts/undist.ts",
|
23 | 23 | "feature-init": "tsx scripts/feature-init.ts",
|
24 | 24 | "format": "npx prettier --write .",
|
25 |
| - "schema:write": "npm run schema -- --out ./schemas/data.schema.json", |
26 |
| - "schema": "ts-json-schema-generator --tsconfig ./tsconfig.json --path ./types.ts --type=WebFeaturesData", |
27 |
| - "schematypes": "sh -c \"npx quicktype --lang='typescript' --src-lang schema --src ./schemas/new.schema.json --just-types='yes' --prefer-unions='yes' --prefer-const-values='yes' --top-level=WebFeaturesData | prettier --stdin-filepath ./new.quicktype.ts\"", |
28 |
| - "schematypes:write": "npm run --silent schematypes > ./new.quicktype.ts", |
| 25 | + "schematypes": "sh -c \"npx quicktype --lang='typescript' --src-lang schema --src ./schemas/data.schema.json --just-types='yes' --prefer-unions='yes' --prefer-const-values='yes' --top-level=WebFeaturesData | prettier --stdin-filepath ./types.quicktype.ts\"", |
| 26 | + "schematypes:write": "npm run --silent schematypes > ./types.quicktype.ts", |
29 | 27 | "test:caniuse": "tsx scripts/caniuse.ts",
|
30 | 28 | "test:coverage": "npm run --workspaces test:coverage",
|
31 | 29 | "test:dist": "tsx scripts/dist.ts --check",
|
32 | 30 | "test:format": "prettier --check .",
|
33 | 31 | "test:lint": "npx eslint .",
|
34 |
| - "test:schema": "tsx scripts/schema.ts", |
| 32 | + "test:schematypes": "tsx scripts/schema.ts", |
35 | 33 | "test:specs": "tsx scripts/specs.ts",
|
36 | 34 | "test:types": "npm run --workspaces test:types && tsc",
|
37 |
| - "test": "npm run test:caniuse -- --quiet && npm run test:schema && npm run test:specs && npm run test:types && npm run test:format && npm run test:dist && npm run test --workspaces && npm run test:lint", |
| 35 | + "test": "npm run test:caniuse -- --quiet && npm run test:schematypes && npm run test:specs && npm run test:types && npm run test:format && npm run test:dist && npm run test --workspaces && npm run test:lint", |
38 | 36 | "update-drafts": "tsx scripts/update-drafts.ts",
|
39 | 37 | "remove-tagged-compat-features": "tsx scripts/remove-tagged-compat-features.ts && npm run format"
|
40 | 38 | },
|
|
0 commit comments