Skip to content
This repository has been archived by the owner on Aug 26, 2024. It is now read-only.

Commit

Permalink
Update package.json (#17)
Browse files Browse the repository at this point in the history
* chore: skip registry checks for internal npm registries

* chore: add wrapper scripts

* refactor: update scripts

* chore: sort dependencies

* fix: upgrade package via `npm audit`
  • Loading branch information
lamchau authored Jan 28, 2024
1 parent b70378e commit ea8a44f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 12 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
registry=https://registry.npmjs.org
6 changes: 3 additions & 3 deletions package-lock.json

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

20 changes: 11 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
"dotenv": "16.3.1",
"express": "4.18.2",
"kysely": "0.26.3",
"pg": "8.11.3",
"loglevel": "1.8.1",
"loglevel-plugin-prefix": "0.8.4",
"ms": "2.1.3",
"mysql2": "3.3.5"
"mysql2": "3.3.5",
"pg": "8.11.3"
},
"devDependencies": {
"@sphereon/pex-models": "2.0.3",
Expand Down Expand Up @@ -45,17 +45,19 @@
"typescript": "5.2.2"
},
"scripts": {
"_debug": "npm run _start -- --enable-source-maps",
"_start": "npm run clean && npm run compile && node",
"clean": "rimraf dist",
"compile": "tsc",
"example-create-customer": "npm run _debug -- dist/example/create-customer.js",
"example-create-issuer": "npm run _debug -- dist/example/create-issuer.js",
"example-issue-credential": "npm run _debug -- dist/example/issue-credential.js",
"example-rfq": "npm run _debug -- dist/example/request-for-quote.js",
"lint": "eslint . --ext .ts --max-warnings 0",
"lint:fix": "eslint . --ext .ts --fix",
"server": "npm run clean && npm run compile && node --enable-source-maps dist/main.js",
"seed-offerings": "npm run _start -- dist/seed-offerings.js",
"server": "npm run _start -- dist/main.js",
"test": "rimraf dist/tests && npm run compile && node --test",
"seed-offerings": "npm run clean && npm run compile && node dist/seed-offerings.js",
"try": "npm run clean && npm run compile && node --enable-source-maps dist/client-test.js",
"example-create-issuer": "npm run clean && npm run compile && node --enable-source-maps dist/example/create-issuer.js",
"example-create-customer": "npm run clean && npm run compile && node --enable-source-maps dist/example/create-customer.js",
"example-issue-credential": "npm run clean && npm run compile && node --enable-source-maps dist/example/issue-credential.js",
"example-rfq": "npm run clean && npm run compile && node --enable-source-maps dist/example/request-for-quote.js"
"try": "npm run _debug -- dist/client-test.js"
}
}

0 comments on commit ea8a44f

Please sign in to comment.