|
1 | 1 | { |
2 | | - "name": "ts-npm-template-simple", |
| 2 | + "name": "tiny-replace-files", |
3 | 3 | "version": "1.0.0", |
4 | | - "description": "使用 tsup 构建 ts lib", |
5 | | - "main": "dist/index.min.js", |
6 | | - "module": "dist/index.min.js", |
| 4 | + "description": "tiny replace string/regex in files.", |
| 5 | + "main": "dist/index.js", |
| 6 | + "module": "dist/index.js", |
7 | 7 | "types": "dist/types/index.d.ts", |
8 | 8 | "directories": { |
9 | 9 | "test": "test" |
10 | 10 | }, |
11 | 11 | "scripts": { |
12 | | - "build-fast": "tsup src/index.ts --format cjs,esm --minify", |
13 | | - "build": "yarn build-fast --dts", |
| 12 | + "build-fast": "tsup src/index.ts --dts --format cjs,esm --minify", |
| 13 | + "build": "yarn build-fast", |
14 | 14 | "watch": "tsup src/index.ts --watch", |
15 | 15 | "test": "uvu -r sucrase/register --ignore fixture", |
16 | 16 | "prepublishOnly": "yarn build-fast", |
|
25 | 25 | }, |
26 | 26 | "repository": { |
27 | 27 | "type": "git", |
28 | | - "url": "git+https://github.com/npm-template/js-npm-template.git" |
| 28 | + "url": "https://github.com/Rabbitzzc/tiny-replace-files" |
29 | 29 | }, |
30 | 30 | "keywords": [ |
31 | 31 | "js-npm-template", |
|
35 | 35 | "author": "Rabbitzzc", |
36 | 36 | "license": "MIT", |
37 | 37 | "bugs": { |
38 | | - "url": "https://github.com/npm-template/js-npm-template/issues" |
| 38 | + "url": "https://github.com/Rabbitzzc/tiny-replace-files/issues" |
39 | 39 | }, |
40 | | - "homepage": "https://github.com/npm-template/js-npm-template#readme", |
| 40 | + "homepage": "https://github.com/Rabbitzzc/tiny-replace-files", |
41 | 41 | "engines": { |
42 | 42 | "node": ">=10.0.0" |
43 | 43 | }, |
44 | 44 | "files": [ |
45 | | - "lib/index.min.js" |
| 45 | + "dist/index.js", |
| 46 | + "dist/index.mjs" |
46 | 47 | ], |
47 | 48 | "peerDependencies": { |
48 | 49 | "fast-glob": "3.2.7" |
|
0 commit comments