64 lines
1.4 KiB
JSON
64 lines
1.4 KiB
JSON
{
|
|
"name": "require-addon",
|
|
"version": "1.2.0",
|
|
"description": "Import native addons across JavaScript runtimes",
|
|
"exports": {
|
|
"./package": "./package.json",
|
|
".": {
|
|
"bare": "./lib/bare.js",
|
|
"node": "./lib/node.js",
|
|
"default": "./lib/default.js"
|
|
}
|
|
},
|
|
"imports": {
|
|
"fs": {
|
|
"bare": "bare-fs",
|
|
"default": "fs"
|
|
},
|
|
"path": {
|
|
"bare": "bare-path",
|
|
"default": "path"
|
|
},
|
|
"url": {
|
|
"bare": "bare-url",
|
|
"default": "url"
|
|
}
|
|
},
|
|
"files": [
|
|
"lib"
|
|
],
|
|
"scripts": {
|
|
"test": "npm run lint && npm run test:bare && npm run test:node",
|
|
"test:bare": "bare test.js",
|
|
"test:node": "node test.js",
|
|
"lint": "prettier --check .",
|
|
"format": "prettier --write ."
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/holepunchto/require-addon.git"
|
|
},
|
|
"author": "Holepunch",
|
|
"license": "Apache-2.0",
|
|
"bugs": {
|
|
"url": "https://github.com/holepunchto/require-addon/issues"
|
|
},
|
|
"homepage": "https://github.com/holepunchto/require-addon#readme",
|
|
"engines": {
|
|
"bare": ">=1.10.0"
|
|
},
|
|
"dependencies": {
|
|
"bare-addon-resolve": "^1.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"bare-bundle": "^1.8.1",
|
|
"bare-bundle-evaluate": "^1.1.0",
|
|
"bare-fs": "^4.0.0",
|
|
"bare-path": "^3.0.0",
|
|
"bare-url": "^2.1.0",
|
|
"brittle": "^3.7.0",
|
|
"prettier": "^3.6.2",
|
|
"prettier-config-holepunch": "^2.0.0"
|
|
}
|
|
}
|