@sydsoft/base 2.0.0 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +3 -6
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@sydsoft/base",
3
3
  "private": false,
4
- "version": "2.0.0",
5
- "main": "./dist/esm/index.js",
4
+ "version": "2.2.0",
5
+ "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",
7
7
  "types": "./dist/esm/index.d.ts",
8
8
  "files": [
@@ -14,10 +14,7 @@
14
14
  "test": "rm -rf ../*.tgz && rm -rf ../.next && npm run build && npm pack --pack-destination ../ && cd ../ && npm uninstall @sydsoft/base && npm install *.tgz && npm run dev",
15
15
  "copyFiles": "find . -name \"*.css\" -not -path \"./dist/*\" -exec sh -c 'for f do mkdir -p \"./dist/esm/$(dirname \"$f\")\"; cp \"$f\" \"./dist/esm/$f\"; done' sh {} +",
16
16
  "build": "npm run clean && tsc && npm run copyFiles",
17
- "publish:patch": "npm run build && npm version patch && npm publish --access public && npm run clean",
18
- "publish:minor": "npm run build && npm version minor && npm publish --access public && npm run clean",
19
- "publish:major": "npm run build && npm version major && npm publish --access public && npm run clean",
20
- "publish:test": "npm run build && npm publish --dry-run && npm run clean"
17
+ "publishNPM": "npm run build && npm version patch && npm version minor && npm publish --dry-run && npm publish --access public && npm run clean"
21
18
  },
22
19
  "publishConfig": {
23
20
  "access": "public"