|
2 | 2 | "name": "@saleor/json-schema-compiler", |
3 | 3 | "version": "0.0.0", |
4 | 4 | "description": "", |
5 | | - "bin": "./dist/index.js", |
| 5 | + "main": "./dist/index.js", |
| 6 | + "bin": { |
| 7 | + "@saleor/schema-compiler": "./dist/index.js" |
| 8 | + }, |
| 9 | + "repository": "github:saleor/json-schema-compiler", |
| 10 | + "homepage": "https://github.com/saleor/json-schema-compiler#readme", |
| 11 | + "bugs": "https://github.com/saleor/json-schema-compiler/issues", |
6 | 12 | "scripts": { |
7 | 13 | "dev": "pnpm _base --source-map --watch", |
8 | 14 | "build": "pnpm _base --minify", |
9 | 15 | "_base": "ncc build src/cli.mts --source-map -o dist --license LICENSE --target es2023", |
10 | 16 | "test": "vitest", |
11 | 17 | "lint": "eslint --cache --fix src", |
12 | 18 | "lint:ci": "eslint --cache src", |
13 | | - "prepare": "husky install" |
| 19 | + "prepare": "husky install", |
| 20 | + "clean": "rm -rf dist", |
| 21 | + "prepublishOnly": "pnpm clean && pnpm build" |
14 | 22 | }, |
15 | 23 | "keywords": [], |
16 | 24 | "author": "Michał Miszczyszyn <michal@mmiszy.pl> (https://typeofweb.com/)", |
|
29 | 37 | "husky": "8.0.3", |
30 | 38 | "lint-staged": "13.2.2", |
31 | 39 | "prettier": "2.8.8", |
| 40 | + "release-it": "15.11.0", |
32 | 41 | "typescript": "5.1.3", |
33 | 42 | "vitest": "0.32.2" |
34 | 43 | }, |
|
39 | 48 | "commander": "11.0.0", |
40 | 49 | "figlet": "1.6.0", |
41 | 50 | "json-schema-to-typescript": "13.0.2" |
| 51 | + }, |
| 52 | + "publishConfig": { |
| 53 | + "access": "public" |
42 | 54 | } |
43 | 55 | } |
0 commit comments