Skip to content

Commit

Permalink
Prepare package.json for publishing on NPM
Browse files Browse the repository at this point in the history
  • Loading branch information
limzykenneth committed Feb 3, 2025
1 parent 0ce9255 commit 91b2571
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 20 deletions.
18 changes: 6 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 24 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,12 @@
"colorjs.io": "^0.5.2",
"file-saver": "^1.3.8",
"gifenc": "^1.0.3",
"i18next": "^19.0.2",
"i18next-browser-languagedetector": "^4.0.1",
"libtess": "^1.2.2",
"omggif": "^1.0.10",
"pako": "^2.1.0"
"pako": "^2.1.0",
"zod": "^3.23.8"
},
"devDependencies": {
"@rollup/plugin-alias": "^5.1.1",
Expand All @@ -48,8 +51,6 @@
"documentation": "^14.0.3",
"eslint": "^8.54.0",
"husky": "^4.2.3",
"i18next": "^19.0.2",
"i18next-browser-languagedetector": "^4.0.1",
"lint-staged": "^15.1.0",
"msw": "^2.6.3",
"rollup": "^4.9.6",
Expand All @@ -58,17 +59,32 @@
"vite": "^5.0.2",
"vite-plugin-string": "^1.2.2",
"vitest": "^2.1.5",
"webdriverio": "^9.0.7",
"zod": "^3.23.8"
"webdriverio": "^9.0.7"
},
"license": "LGPL-2.1",
"main": "./lib/p5.min.js",
"browser": "./lib/p5.min.js",
"exports": {
"./": "./src/app.js",
"./core": "./src/core/main.js",
"./shape": "./src/shape/index.js",
"./accessibility": "./src/accessibility/index.js",
"./friendlyErrors": "./src/core/friendlyErrors/index.js",
"./data": "./src/data/index.js",
"./dom": "./src/dom/index.js",
"./events": "./src/events/index.js",
"./image": "./src/image/index.js",
"./io": "./src/io/index.js",
"./math": "./src/math/index.js",
"./utilities": "./src/utilities/index.js",
"./webgl": "./src/webgl/index.js",
"./type": "./src/type/index.js"
},
"files": [
"src/**",
"license.txt",
"lib/p5.min.js",
"lib/p5.js",
"lib/addons/p5.sound.js",
"lib/addons/p5.sound.min.js",
"lib/p5.esm.js",
"translations/**"
],
"description": "[![npm version](https://badge.fury.io/js/p5.svg)](https://www.npmjs.com/package/p5)",
Expand Down

0 comments on commit 91b2571

Please sign in to comment.