58 lines
1.4 KiB
JSON
58 lines
1.4 KiB
JSON
{
|
|
"name": "layerr",
|
|
"version": "3.0.0",
|
|
"description": "Error wrapping utility for NodeJS and the browser",
|
|
"exports": "./dist/index.js",
|
|
"react-native": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "run-s clean && tsc",
|
|
"clean": "rimraf ./dist",
|
|
"dev": "npm run clean && tsc --watch",
|
|
"prepublishOnly": "npm run build",
|
|
"test": "run-s build test:specs",
|
|
"test:specs": "nyc mocha 'test/**/*.spec.js'"
|
|
},
|
|
"files": [
|
|
"dist/**/*.js",
|
|
"dist/**/*.d.ts",
|
|
"*.md"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/perry-mitchell/layerr.git"
|
|
},
|
|
"keywords": [
|
|
"error",
|
|
"verror",
|
|
"err",
|
|
"nerror",
|
|
"exception",
|
|
"wrapper",
|
|
"extend"
|
|
],
|
|
"author": "Perry Mitchell <perry@perrymitchell.net>",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/perry-mitchell/layerr/issues"
|
|
},
|
|
"homepage": "https://github.com/perry-mitchell/layerr#readme",
|
|
"devDependencies": {
|
|
"@babel/core": "^7.24.4",
|
|
"@babel/preset-env": "^7.24.4",
|
|
"@babel/preset-typescript": "^7.24.1",
|
|
"@types/node": "^20.12.7",
|
|
"babel-loader": "^9.1.3",
|
|
"chai": "^5.1.0",
|
|
"mocha": "^10.4.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"nyc": "^15.1.0",
|
|
"resolve-typescript-plugin": "^2.0.1",
|
|
"rimraf": "^5.0.5",
|
|
"typescript": "^5.4.5",
|
|
"webpack": "^5.91.0",
|
|
"webpack-cli": "^5.1.4"
|
|
}
|
|
}
|