nodejs_install_test
Advanced tools
Comparing version
@@ -5,6 +5,3 @@ const { expect } = require("chai"); | ||
it(`better-sqlite3`, async function () { | ||
const db = require("better-sqlite3")("test.db"); | ||
try { | ||
db.exec("drop table test"); | ||
} catch (e) {} | ||
const db = require("better-sqlite3")(":memory:"); | ||
db.exec("create table test(id,a,b)"); | ||
@@ -11,0 +8,0 @@ db.exec(`insert into test(id,a,b) values(1,'a1', 'b1')`); |
{ | ||
"name": "nodejs_install_test", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "A repo to test if nodejs installation is capable of most needed features like gyp packages etc", | ||
"main": "better_sqlite3.test.js", | ||
"bin": { | ||
"nodejs_install_test": "node ./bin/nodejs_install_test.js" | ||
"nodejs_install_test": "./bin/index.js" | ||
}, | ||
"scripts": { | ||
"republish": "npx version-select && npm publish && npx nodejs_install_test -- --version", | ||
"test": "mocha .\\**\\*.test.js", | ||
"start": "mocha .\\**\\*.test.js" | ||
"republish": "npx version-select && npm publish && npm uninstall -g nodejs_install_test & npm i -g nodejs_install_test@latest && nodejs_install_test && npx nodejs_install_test", | ||
"test": "mocha ./**/*.test.js", | ||
"start": "node ./bin/index.js" | ||
}, | ||
@@ -14,0 +14,0 @@ "repository": { |
39288
0.14%26
-13.33%