@ceed/ads 1.2.0 → 1.2.2-next.1

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.
package/package.json CHANGED
@@ -1,17 +1,21 @@
1
1
  {
2
2
  "name": "@ceed/ads",
3
- "version": "1.2.0",
4
- "main": "dist/index.js",
3
+ "version": "1.2.2-next.1",
4
+ "main": "dist/index.cjs",
5
+ "module": "dist/index.js",
5
6
  "types": "dist/index.d.ts",
6
7
  "type": "module",
7
8
  "description": "UI tool for Ecube Labs front-end developers",
8
9
  "scripts": {
9
10
  "storybook": "storybook dev -p 6006",
10
11
  "build-storybook": "storybook build",
11
- "build": "yarn build-for-framer && rm -rf ./dist && tsc --emitDeclarationOnly -p tsconfig.build.json && yarn dlx esbuild src/index.ts --bundle --outfile='dist/index.js' --format=esm '--packages=external' --tsconfig=tsconfig.build.json --minify",
12
- "build-for-framer": "yarn dlx esbuild src/framer-entrypoint.ts --bundle --outfile='framer/index.js' --format=esm '--external:react' '--external:react/jsx-runtime' '--external:react-dom' '--external:framer' '--external:framer-motion' --main-fields=module,main --target=chrome58 --minify",
12
+ "build": "yarn build-for-framer && rm -rf ./dist && tsc --emitDeclarationOnly -p tsconfig.build.json && yarn build:esm && yarn build:cjs",
13
+ "build:esm": "yarn esbuild src/index.ts --bundle --outfile='dist/index.js' --format=esm '--packages=external' --tsconfig=tsconfig.build.json",
14
+ "build:cjs": "yarn esbuild src/index.ts --bundle --outfile='dist/index.cjs' --format=cjs '--packages=external' --tsconfig=tsconfig.build.json",
15
+ "build-for-framer": "yarn esbuild src/framer-entrypoint.ts --bundle --outfile='framer/index.js' --format=esm '--external:react' '--external:react/jsx-runtime' '--external:react-dom' '--external:framer' '--external:framer-motion' --main-fields=module,main --target=chrome58 --minify",
13
16
  "prepack": "yarn build",
14
- "lint": "eslint \"./src/**/*.{ts,tsx}\""
17
+ "lint": "eslint \"./src/**/*.{ts,tsx}\"",
18
+ "esbuild": "esbuild"
15
19
  },
16
20
  "files": [
17
21
  "dist",
@@ -20,7 +24,7 @@
20
24
  "exports": {
21
25
  ".": {
22
26
  "import": "./dist/index.js",
23
- "require": "./dist/index.js"
27
+ "require": "./dist/index.cjs"
24
28
  }
25
29
  },
26
30
  "author": "Ecube Labs",
@@ -75,5 +79,6 @@
75
79
  "type": "git",
76
80
  "url": "git+ssh://git@github.com/Ecube-Labs/hds.git"
77
81
  },
78
- "packageManager": "yarn@4.1.0"
82
+ "packageManager": "yarn@4.1.0",
83
+ "stableVersion": "1.0.0"
79
84
  }