|
17 | 17 | "type": "commonjs", |
18 | 18 | "source": "src/index.ts", |
19 | 19 | "exports": { |
20 | | - "require": "./dist/index.cjs", |
| 20 | + "require": "./dist/index.js", |
21 | 21 | "types": "./dist/index.d.ts", |
22 | 22 | "default": "./dist/index.mjs" |
23 | 23 | }, |
24 | 24 | "types": "dist/index.d.ts", |
25 | | - "main": "dist/index.cjs", |
| 25 | + "main": "dist/index.js", |
26 | 26 | "module": "dist/index.mjs", |
27 | 27 | "umd:main": "dist/index.umd.js", |
28 | 28 | "engines": { |
|
55 | 55 | }, |
56 | 56 | "scripts": { |
57 | 57 | "start": "node build/src/main.js", |
58 | | - "clean": "rimraf coverage build tmp", |
| 58 | + "clean": "rimraf dist", |
59 | 59 | "prebuild": "npm run lint", |
60 | | - "build": "rimraf dist && microbundle src/*.ts --tsconfig tsconfig.release.json", |
| 60 | + "build": "npm run clean && microbundle src/*.ts --tsconfig tsconfig.release.json", |
61 | 61 | "build:watch": "tsc -w -p tsconfig.json", |
62 | | - "build:release": "npm run clean && tsc -p tsconfig.release.json", |
63 | 62 | "lint": "eslint . --ext .ts --ext .mts", |
64 | 63 | "test": "hardhat test", |
65 | 64 | "prettier": "prettier --config .prettierrc --write .", |
|
0 commit comments