Skip to content

Commit

Permalink
Merge pull request #543 from nextcloud/fix/package-exports
Browse files Browse the repository at this point in the history
Fix package exports
  • Loading branch information
ChristophWurst committed Jun 16, 2023
2 parents 7d33e49 + ea0e8be commit ab5d62d
Showing 1 changed file with 19 additions and 16 deletions.
35 changes: 19 additions & 16 deletions package.json
Expand Up @@ -2,17 +2,30 @@
"name": "@nextcloud/initial-state",
"version": "2.0.0",
"description": "Access data from the nextcloud server-side initial state API within apps.",
"homepage": "https://github.com/nextcloud/nextcloud-initial-state#readme",
"author": "Christoph Wurst",
"license": "GPL-3.0-or-later",
"repository": {
"type": "git",
"url": "https://github.com/nextcloud/nextcloud-initial-state"
},
"keywords": [
"nextcloud"
],
"files": [
"dist/",
"CHANGELOG.md"
],
"type": "module",
"main": "dist/index.cjs",
"types": "dist/index.d.ts",
"exports": {
"import": "./dist/index.es.mjs",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.es.mjs",
"require": "./dist/index.cjs"
}
},
"files": [
"dist/"
],
"scripts": {
"build": "rollup --config rollup.config.js",
"build:doc": "typedoc --out dist/doc lib/index.ts && touch dist/doc/.nojekyll",
Expand All @@ -21,16 +34,6 @@
"test": "jest",
"test:watch": "jest --watchAll"
},
"keywords": [
"nextcloud"
],
"homepage": "https://github.com/nextcloud/nextcloud-initial-state#readme",
"author": "Christoph Wurst",
"license": "GPL-3.0-or-later",
"repository": {
"type": "git",
"url": "https://github.com/nextcloud/nextcloud-initial-state"
},
"devDependencies": {
"@rollup/plugin-typescript": "^11.1.1",
"jest": "^29.5.0",
Expand Down

0 comments on commit ab5d62d

Please sign in to comment.