Skip to content

Commit

Permalink
chore(components): switch package.json main, module and types files t…
Browse files Browse the repository at this point in the history
…o the recommended dist files
  • Loading branch information
oliverschuerch committed Apr 5, 2024
1 parent 407751e commit 7576e1f
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
"version": "2.1.0",
"description": "A collection of web components built with Stencil JS for the Swiss Post Design System.",
"license": "Apache-2.0",
"main": "loader/index.cjs.js",
"module": "loader/index.js",
"es2017": "loader/index.2017.js",
"types": "loader/index.d.ts",
"main": "dist/index.cjs.js",
"module": "dist/index.js",
"types": "dist/types/index.d.ts",
"collection": "dist/collection/collection-manifest.json",
"collection:main": "dist/collection/index.js",
"unpkg": "dist/post-components/post-components.esm.js",
Expand All @@ -24,9 +23,9 @@
"linkDirectory": true
},
"scripts": {
"dev": "stencil build --serve --port 9200 --watch --docs-readme",
"start": "stencil build --watch --docs-readme",
"build": "stencil build --docs-readme",
"dev": "stencil build --port 9200 --serve --watch",
"start": "stencil build --watch",
"build": "stencil build",
"clean": "rimraf www dist loader",
"test": "pnpm run unit",
"unit": "stencil test --spec",
Expand Down

0 comments on commit 7576e1f

Please sign in to comment.