@vygruppen/spor-icon-react-native 0.2.2 → 0.2.3

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 (3) hide show
  1. package/package.json +4 -4
  2. package/dist/index.js +0 -32581
  3. package/dist/types.d.ts +0 -1085
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@vygruppen/spor-icon-react-native",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "main": "./dist/index.js",
5
+ "module": "./dist/index.mjs",
5
6
  "types": "./dist/types.d.ts",
6
7
  "license": "MIT",
7
8
  "files": [
@@ -18,10 +19,9 @@
18
19
  "scripts": {
19
20
  "clean": "rimraf tmp dist react",
20
21
  "prebuild": "npm run clean",
21
- "build": "npm run build:step-1 && npm run build:step-2 && npm run build:step-3",
22
+ "build": "npm run build:step-1 && npm run build:step-2",
22
23
  "build:step-1": "ts-node bin/generate.ts",
23
- "build:step-2": "tsup tmp/index.ts",
24
- "build:step-3": "rimraf tmp"
24
+ "build:step-2": "tsup tmp/* --treeshake --format esm,cjs"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@shopify/restyle": "^2.1.0",