Skip to content

Commit

Permalink
chore: publish source maps and use tsc for generating types
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Nov 7, 2023
1 parent 6c73fae commit becc53c
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "edge-iconify",
"version": "2.0.0-1",
"description": "Iconify provider for Edge template engine",
"description": "Iconify integration for the Edge template engine",
"type": "module",
"main": "build/index.js",
"files": [
"build/src",
"build/index.js",
"build/index.d.ts"
"build",
"!build/bin",
"!build/tests"
],
"exports": {
".": "./build/index.js",
Expand All @@ -21,7 +21,8 @@
"test": "c8 npm run quick:test",
"clean": "del-cli build",
"typecheck": "tsc --noEmit",
"compile": "npm run lint && npm run clean && tsup-node",
"precompile": "npm run lint && npm run clean",
"compile": "tsup-node && tsc --emitDeclarationOnly --declaration",
"build": "npm run compile",
"prepublishOnly": "npm run build",
"lint": "eslint . --ext=.ts",
Expand All @@ -31,7 +32,7 @@
"sync-labels": "github-label-sync --labels .github/labels.json edge-js/edge-iconify",
"quick:test": "node --enable-source-maps --loader=ts-node/esm bin/test.ts"
},
"keywords": [],
"keywords": ["edge.js", "edge-templating"],
"author": "virk",
"license": "MIT",
"devDependencies": {
Expand Down Expand Up @@ -65,9 +66,8 @@
"dependencies": {
"@iconify/iconify": "^3.1.1"
},
"types": "./build/index.d.ts",
"directories": {
"test": "tests"
"peerDependencies": {
"edge.js": "^6.0.0"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -98,17 +98,18 @@
"outDir": "./build",
"clean": true,
"format": "esm",
"dts": true,
"dts": false,
"sourcemap": true,
"target": "esnext"
},
"np": {
"message": "chore(release): %s",
"tag": "next",
"tag": "latest",
"branch": "main",
"anyBranch": false
},
"publishConfig": {
"access": "public",
"tag": "next"
"tag": "latest"
}
}

0 comments on commit becc53c

Please sign in to comment.