2020-03-31 20:42:07 +08:00
|
|
|
{
|
2020-03-31 20:57:48 +08:00
|
|
|
"name": "pirates",
|
|
|
|
"description": "Properly hijack require",
|
|
|
|
"main": "lib/index.js",
|
|
|
|
"types": "index.d.ts",
|
|
|
|
"scripts": {
|
|
|
|
"clean": "rimraf lib",
|
|
|
|
"build": "babel src -d lib",
|
|
|
|
"test": "yarn run lint && cross-env BABEL_ENV=test yarn run build && nyc ava",
|
|
|
|
"lint": "eslint --report-unused-disable-directives .",
|
|
|
|
"prepublish": "yarn run clean && yarn run build"
|
2020-03-31 20:42:07 +08:00
|
|
|
},
|
2020-03-31 20:57:48 +08:00
|
|
|
"files": [
|
|
|
|
"lib",
|
|
|
|
"index.d.ts"
|
2020-03-31 20:42:07 +08:00
|
|
|
],
|
2020-03-31 20:57:48 +08:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/ariporad/pirates.git"
|
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": ">= 6"
|
|
|
|
},
|
2020-03-31 20:42:07 +08:00
|
|
|
"author": {
|
|
|
|
"name": "Ari Porad",
|
|
|
|
"email": "ari@ariporad.com",
|
|
|
|
"url": "http://ariporad.com"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"node-modules-regexp": "^1.0.0"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@babel/cli": "^7.0.0",
|
|
|
|
"@babel/core": "^7.0.0",
|
|
|
|
"@babel/preset-env": "^7.0.0",
|
|
|
|
"ava": "^1.2.1",
|
|
|
|
"babel-core": "^7.0.0-0",
|
|
|
|
"babel-eslint": "^10.0.1",
|
|
|
|
"babel-plugin-istanbul": "^5.1.0",
|
|
|
|
"cross-env": "^5.0.5",
|
|
|
|
"cz-conventional-changelog": "^2.0.0",
|
|
|
|
"decache": "^4.1.0",
|
|
|
|
"eslint": "^5.1.0",
|
|
|
|
"eslint-config-prettier": "^4.0.0",
|
|
|
|
"eslint-plugin-import": "^2.2.0",
|
|
|
|
"eslint-plugin-prettier": "^3.0.1",
|
|
|
|
"mock-require": "^3.0.2",
|
|
|
|
"nyc": "^13.2.0",
|
|
|
|
"prettier": "^1.16.4",
|
|
|
|
"rewire": "^4.0.1",
|
|
|
|
"rimraf": "^2.6.1",
|
|
|
|
"semantic-release": "^15.7.0"
|
|
|
|
},
|
2020-03-31 20:57:48 +08:00
|
|
|
"license": "MIT",
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/ariporad/pirates/issues"
|
2020-03-31 20:42:07 +08:00
|
|
|
},
|
|
|
|
"homepage": "https://github.com/ariporad/pirates#readme",
|
2020-03-31 20:57:48 +08:00
|
|
|
"config": {
|
|
|
|
"commitizen": {
|
|
|
|
"path": "cz-conventional-changelog"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"ava": {
|
|
|
|
"files": [
|
|
|
|
"test/*.js"
|
|
|
|
],
|
|
|
|
"sources": [
|
|
|
|
"lib/**/*.js"
|
|
|
|
]
|
|
|
|
},
|
2020-03-31 20:42:07 +08:00
|
|
|
"nyc": {
|
|
|
|
"include": [
|
|
|
|
"src/*.js"
|
|
|
|
],
|
|
|
|
"reporter": [
|
|
|
|
"json",
|
|
|
|
"text"
|
|
|
|
],
|
|
|
|
"sourceMap": false,
|
|
|
|
"instrument": false
|
|
|
|
},
|
|
|
|
"version": "4.0.1"
|
|
|
|
}
|