Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export version from index.js #48

Merged
merged 2 commits into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ coverage/
docs/
lib/
node_modules/
src/version.ts
web/playwright-report/
web/test-results/
20 changes: 6 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
"type": "module",
"repository": {
"type": "git",
"url": "http://github.com/hildjj/cbor2.git"
"url": "git+ssh://git@github.com/hildjj/cbor2.git"
},
"homepage": "https://github.com/hildjj/cbor2",
"scripts": {
"clean": "rimraf lib coverage docs",
"clean": "rimraf lib coverage docs src/version.ts",
"docs": "typedoc && cd web && npm run build",
"lint": "eslint .",
"start": "cd web && npm start",
Expand All @@ -31,10 +31,11 @@
"posttest": "tsup --silent",
"test:noBuild": "c8 node --enable-source-maps --test test/*.test.js",
"test:web": "cd web && npm test",
"build": "tsup",
"build": "npm run ver && tsup",
"build:sourcemap": "npm run build -- --sourcemap inline",
"watch": "tsup --sourcemap inline --watch src/ --watch test/ --onSuccess 'npm run test:noBuild'",
"ci": "npm run clean && npm run build:sourcemap && npm run lint && npm run test:noBuild"
"ci": "npm run clean && npm run build:sourcemap && npm run lint && npm run test:noBuild",
"ver": "package-extract -st -o src/version.ts"
},
"keywords": [
"coap",
Expand All @@ -54,21 +55,12 @@
"eslint": "9.9.1",
"eslint-plugin-jsdoc": "50.2.2",
"eslint-plugin-markdown": "5.1.0",
"package-extract": "2.0.2",
"rimraf": "^6.0.1",
"tsup": "8.2.4",
"typedoc": "0.26.6",
"typescript-eslint": "8.3.0"
},
"overrides": {
"@typescript-eslint/utils": "8.0.0-alpha.44",
"@typescript-eslint/parser": "8.0.0-alpha.44"
},
"pnpm": {
"overrides": {
"@typescript-eslint/utils": "8.0.0-alpha.44",
"@typescript-eslint/parser": "8.0.0-alpha.44"
}
},
"packageManager": "[email protected]",
"engines": {
"node": ">=18"
Expand Down
Loading
Loading