|
4 | 4 | "author": "Mittwald CM Service GmbH & Co. KG",
|
5 | 5 | "name": "@mittwald/vaults",
|
6 | 6 | "description": "Almost Fully Typed Vault Client for Typescript and Javascript",
|
7 |
| - "main": "dist/index.js", |
8 |
| - "types": "dist/index.d.ts", |
| 7 | + "main": "index.js", |
| 8 | + "types": "index.d.ts", |
9 | 9 | "scripts": {
|
10 | 10 | "test": "yarn test:unit",
|
11 | 11 | "lint": "eslint 'src/**/*.{ts,tsx}' 2>/dev/null",
|
12 | 12 | "compile": "yarn tsc -p tsconfig.dist.json",
|
13 |
| - "precompile:build-interfaces": "find src -name \"*types.ts\" -exec npx ts-interface-builder --ignore-generics --ignore-index-signature {} \\; && tsc && cp package.json *.md dist", |
| 13 | + "precompile:build-interfaces": "find src -name \"*types.ts\" -exec npx ts-interface-builder --ignore-generics --ignore-index-signature {} \\; && tsc", |
14 | 14 | "cli": "node dist/cli.js",
|
15 | 15 | "precommit:format": "run-s test:staged-formatted",
|
16 | 16 | "precommit": "run-s precommit:*",
|
17 | 17 | "precommit:lint": "run-s lint:staged",
|
18 | 18 | "prepublish:all": "run-s compile 'prepublish:!(all)'",
|
19 | 19 | "prepublish:default": "exit",
|
| 20 | + "prepublish:copy": "cp package.json *.md dist", |
20 | 21 | "ts-out-dir": "cat tsconfig.json | yarn -s jp --log /compilerOptions/outDir",
|
21 | 22 | "clean": "mkdir -p $(yarn -s ts-out-dir) && rm -rf $(yarn -s ts-out-dir)/*",
|
22 | 23 | "precompile": "run-s precompile:*",
|
|
0 commit comments