|
17 | 17 | "author": "Reaper <[email protected]>",
|
18 | 18 | "repository": "git+https://github.com/barelyhuman/make-tints.git",
|
19 | 19 | "funding": "https://github.com/sponsors/barelyhuman",
|
20 |
| - "main": "./dist/index.cjs", |
21 |
| - "module": "./dist/index.mjs", |
22 |
| - "types": "./dist/index.d.ts", |
| 20 | + "main": "./index.cjs", |
| 21 | + "module": "./index.mjs", |
| 22 | + "types": "./index.d.ts", |
23 | 23 | "exports": {
|
24 | 24 | ".": {
|
25 |
| - "require": "./dist/index.cjs", |
26 |
| - "import": "./dist/index.mjs", |
27 |
| - "types": "./dist/index.d.ts" |
| 25 | + "require": "./index.cjs", |
| 26 | + "import": "./index.mjs", |
| 27 | + "types": "./index.d.ts" |
28 | 28 | }
|
29 | 29 | },
|
30 | 30 | "files": [
|
|
34 | 34 | "typesVersions": {
|
35 | 35 | "*": {
|
36 | 36 | "*": [
|
37 |
| - "./dist/*", |
38 |
| - "./dist/index.d.ts" |
| 37 | + "./*", |
| 38 | + "./index.d.ts" |
39 | 39 | ]
|
40 | 40 | }
|
41 | 41 | },
|
42 | 42 | "directories": {
|
43 | 43 | "test": "test"
|
44 | 44 | },
|
45 | 45 | "scripts": {
|
46 |
| - "build": "rimraf dist && unbuild && nr size", |
| 46 | + "build": "rimraf dist; unbuild; nr size; nr copy", |
47 | 47 | "dev": "unbuild --stub",
|
48 | 48 | "prepublishOnly": "nr build",
|
49 | 49 | "release": "bumpp --commit --push --tag && pnpm publish",
|
50 | 50 | "start": "esno src/index.ts",
|
51 | 51 | "test": "vitest",
|
52 | 52 | "size": "sizesnap",
|
53 | 53 | "fix": "prettier --write .",
|
54 |
| - "typecheck": "tsc --noEmit" |
| 54 | + "typecheck": "tsc --noEmit", |
| 55 | + "copy": "shx cp package.json README.md LICENSE dist && json -I -f dist/package.json -e \"this.private=false; this.devDependencies=undefined; this.optionalDependencies=undefined; this.scripts=undefined; this.prettier=undefined; this.jest=undefined;this.directories=undefined;this.sizesnap=undefined\"" |
55 | 56 | },
|
56 | 57 | "prettier": "@barelyhuman/prettier-config",
|
57 | 58 | "dependencies": {
|
|
69 | 70 | "@types/node": "^17.0.23",
|
70 | 71 | "bumpp": "^7.1.1",
|
71 | 72 | "esno": "^0.14.1",
|
| 73 | + "json": "^11.0.0", |
72 | 74 | "pnpm": "^6.32.3",
|
73 | 75 | "prettier": "^2.6.2",
|
74 | 76 | "rimraf": "^3.0.2",
|
| 77 | + "shx": "^0.3.4", |
75 | 78 | "sizesnap": "^0.1.1",
|
76 | 79 | "typescript": "^4.6.2",
|
77 | 80 | "unbuild": "^0.7.0",
|
|
0 commit comments