@ywfe/fe-tools 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1) hide show
  1. package/package.json +4 -4
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@ywfe/fe-tools",
4
- "version": "1.1.0",
4
+ "version": "1.2.0",
5
5
  "description": "工具函数库",
6
- "main": "./lib/ywfe-tools.esm.js",
6
+ "main": "./lib/ywfe-tools.cjs.js",
7
7
  "module": "./lib/ywfe-tools.esm.js",
8
- "type": "module",
8
+ "types": "lib/index.d.ts",
9
9
  "scripts": {
10
- "build": "rollup -c",
10
+ "build": "rollup -c --bundleConfigAsCjs",
11
11
  "build:type": "tsc -p ./tsconfig.type.json",
12
12
  "prepublishOnly": "npm run build && npm run build:type",
13
13
  "test": "jest --coverage"