Skip to content

Commit

Permalink
Prepare no_dist version (#156)
Browse files Browse the repository at this point in the history
* Prepare no_dist version

* Update package.json
  • Loading branch information
puehringer authored Nov 9, 2023
1 parent 3f01e60 commit f54a370
Showing 1 changed file with 35 additions and 3 deletions.
38 changes: 35 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,41 @@
"node": ">=16"
},
"private": true,
"main": "dist/index.js",
"types": "dist/index.d.ts",
"main": "src/index.ts",
"types": "src/index.ts",
"exports": {
".": {
"types": [
"./dist/index.d.ts",
"./src/index.ts"
],
"import": [
"./dist/index.js",
"./src/index.ts"
],
"default": [
"./dist/index.js",
"./src/index.ts"
]
},
"./phovea_registry": [
"./dist/phovea_registry.js",
"./src/phovea_registry.ts"
],
"./dist/phovea_registry": [
"./dist/phovea_registry.js",
"./src/phovea_registry.ts"
],
"./src/scss/*": [
"./dist/scss/*",
"./src/scss/*"
],
"./dist/scss/*": [
"./dist/scss/*",
"./src/scss/*"
],
"./package.json": "./package.json"
},
"scripts": {
"all": "npm run lint:fix && npm run test && npm run build && npm run dist",
"build": "npm run clean && npm run compile && npm run copy",
Expand All @@ -39,7 +72,6 @@
"docs": "visyn_scripts docs",
"lint:fix": "visyn_scripts lint --fix",
"lint": "visyn_scripts lint",
"prepack": "npm run build",
"start": "visyn_scripts start --env workspace_mode=single",
"storybook:build": "NODE_OPTIONS=--max_old_space_size=4096 build-storybook",
"storybook": "NODE_OPTIONS=--max_old_space_size=4096 start-storybook -p 6006",
Expand Down

0 comments on commit f54a370

Please sign in to comment.