Skip to content

Commit

Permalink
build: update package.json for production
Browse files Browse the repository at this point in the history
  • Loading branch information
xikimay committed Apr 10, 2024
1 parent f5552ce commit 5a2eca3
Showing 1 changed file with 23 additions and 4 deletions.
27 changes: 23 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,21 @@
"name": "@okcontract/graph",
"version": "0.1.3",
"description": "Directed graph library",
"main": "src/index.ts",
"private": false,
"main": "dist/graph.umd.cjs",
"module": "dist/graph.js",
"type": "module",
"exports": {
".": {
"import": "./dist/graph.js",
"require": "./dist/graph.umd.cjs"
}
},
"files": [
"dist/",
"README.md",
"LICENSE"
],
"dependencies": {},
"devDependencies": {
"@biomejs/biome": "1.5.3",
Expand All @@ -15,12 +28,18 @@
},
"scripts": {
"build": "vite build",
"test": "vitest run --passWithNoTests --test-timeout=10000"
"test": "vitest run",
"coverage": "vitest run --coverage",
"definitions": "tsc --project tsconfig.build.json",
"prepublishOnly": "npm run check && npm test && npm run build && npm run definitions",
"check": "npx @biomejs/biome check src",
"format": "npx @biomejs/biome format src --write",
"formatReadme": "prettier README.md --prose-wrap always --print-width 78 -w"
},
"repository": {
"type": "git",
"url": "git+https://github.com/hbbio/lambdascript.git"
"url": "git+https://github.com/okcontract/graph.git"
},
"author": "Henri Binsztok",
"license": "UNLICENSED"
"license": "MIT"
}

0 comments on commit 5a2eca3

Please sign in to comment.