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

Attempt to fix package.json #64

Merged
merged 5 commits into from
Oct 4, 2023
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
4 changes: 1 addition & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install packages
run: npm i
- name: Build
run: npm run build
run: npm install
- name: Test
run: npm test
- name: Set version to match tag
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install npm packages
run: npm i
- name: Build TypeScript
run: npm run build
run: npm install
- name: Unit Test
run: npm test
- name: Initialize RDBMS based metastore
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@
"name": "asherah",
"version": "0.0.0",
"description": "Asherah envelope encryption and key rotation library",
"main": "dist/asherah.js",
"main": "dist/main.js",
"repository": {
"type": "git",
"url": "https://github.com/jgowdy/asherah-cobhan.git"
},
"scripts": {
"build": "node-gyp build && mkdir -p dist/ && cp build/Release/asherah.node dist/asherah.node && cp src/asherah.d.ts dist/asherah.d.ts",
"preinstall": "scripts/download-libraries.sh",
"install": "CFLAGS=-fexceptions CXXFLAGS=-fexceptions node-gyp rebuild",
"install": "node-gyp configure && node-gyp build && mkdir -p dist/ && cp build/Release/asherah.node dist/asherah.node && cp src/asherah.d.ts dist/asherah.d.ts && cp src/main.js dist/main.js",
"test:mocha": "mocha",
"test": "nyc npm run test:mocha",
"posttest": "npm run lint",
Expand All @@ -23,6 +22,7 @@
"binding.gyp",
"src/asherah.cc",
"dist/asherah.d.ts",
"dist/main.js",
"scripts/download-libraries.sh",
"SHA256SUMS",
"SHA256SUMS-darwin",
Expand Down
Empty file added src/main.js
Empty file.
Loading