updated sys and created publi
This commit is contained in:
+15
-46
@@ -1,46 +1,33 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
{
|
||||
"raw": "in-publish@^2.0.0",
|
||||
"scope": null,
|
||||
"escapedName": "in-publish",
|
||||
"name": "in-publish",
|
||||
"rawSpec": "^2.0.0",
|
||||
"spec": ">=2.0.0 <3.0.0",
|
||||
"type": "range"
|
||||
},
|
||||
"/mnt/Data/bach/Documents/ola/OLA#4/OLA#4DOC/sys/node_modules/node-sass"
|
||||
"in-publish@2.0.0",
|
||||
"/mnt/Data/bach/Documents/ola/OLA#5/ola5doc/sys"
|
||||
]
|
||||
],
|
||||
"_from": "in-publish@>=2.0.0 <3.0.0",
|
||||
"_development": true,
|
||||
"_from": "in-publish@2.0.0",
|
||||
"_id": "in-publish@2.0.0",
|
||||
"_inCache": true,
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-4g/146KvwmkDILbcVSaCqcf631E=",
|
||||
"_location": "/in-publish",
|
||||
"_nodeVersion": "2.3.3",
|
||||
"_npmUser": {
|
||||
"name": "iarna",
|
||||
"email": "me@re-becca.org"
|
||||
},
|
||||
"_npmVersion": "2.11.3",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"raw": "in-publish@^2.0.0",
|
||||
"scope": null,
|
||||
"escapedName": "in-publish",
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "in-publish@2.0.0",
|
||||
"name": "in-publish",
|
||||
"rawSpec": "^2.0.0",
|
||||
"spec": ">=2.0.0 <3.0.0",
|
||||
"type": "range"
|
||||
"escapedName": "in-publish",
|
||||
"rawSpec": "2.0.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "2.0.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/node-sass"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/in-publish/-/in-publish-2.0.0.tgz",
|
||||
"_shasum": "e20ff5e3a2afc2690320b6dc552682a9c7fadf51",
|
||||
"_shrinkwrap": null,
|
||||
"_spec": "in-publish@^2.0.0",
|
||||
"_where": "/mnt/Data/bach/Documents/ola/OLA#4/OLA#4DOC/sys/node_modules/node-sass",
|
||||
"_spec": "2.0.0",
|
||||
"_where": "/mnt/Data/bach/Documents/ola/OLA#5/ola5doc/sys",
|
||||
"author": {
|
||||
"name": "Rebecca Turner",
|
||||
"email": "me@re-becca.org"
|
||||
@@ -54,32 +41,14 @@
|
||||
"bugs": {
|
||||
"url": "https://github.com/iarna/in-publish/issues"
|
||||
},
|
||||
"dependencies": {},
|
||||
"description": "Detect if we were run as a result of `npm publish`",
|
||||
"devDependencies": {},
|
||||
"directories": {},
|
||||
"dist": {
|
||||
"shasum": "e20ff5e3a2afc2690320b6dc552682a9c7fadf51",
|
||||
"tarball": "https://registry.npmjs.org/in-publish/-/in-publish-2.0.0.tgz"
|
||||
},
|
||||
"gitHead": "7602f2f81f8be988cae554d706bd4a3f1d563f1a",
|
||||
"homepage": "https://github.com/iarna/in-publish",
|
||||
"license": "ISC",
|
||||
"main": "index.js",
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "iarna",
|
||||
"email": "me@re-becca.org"
|
||||
}
|
||||
],
|
||||
"name": "in-publish",
|
||||
"optionalDependencies": {},
|
||||
"readme": "in-publish\n==========\n\nDetect if we were run as a result of `npm publish`. This is intended to allow you to\neasily have prepublish lifecycle scripts that don't run when you run `npm install`.\n\n```\n$ npm install --save in-publish\nin-publish@1.0.0 node_modules/in-publish\n```\n\nThen edit your package.json to have:\n\n```json\n \"scripts\": {\n \"prepublish\": \"in-publish && thing-I-dont-want-on-dev-install || not-in-publish\"\n }\n```\n\nNow when you run:\n\n```\n$ npm install\n```\nThen `thing-I-dont-want-on-dev-install` won't be run, but...\n\n```\n$ npm publish\n```\nAnd `thing-I-dont-want-on-dev-install` will be run.\n\nIt's worth noting that the `prepublish` lifecycle is _ALSO_ called when you build a tarball, so:\n\n```\n$ npm pack\n```\n\nWill call your `prepublish` lifecycle, but with the examplea above,\n`thing-I-dont-want-on-dev-install` won't be run.\n\nIf you want this, you can use another helper included here:\n\n```json\n \"scripts\": {\n \"prepublish\": \"not-in-install && thing-I-dont-want-on-dev-install || in-install\"\n }\n```\n\nThe above will run your `thing-I-dont-want-on-dev-install` on `publish` and\non `pack` but not on `install`.\n",
|
||||
"readmeFilename": "README.md",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/iarna/in-publish.git"
|
||||
},
|
||||
"scripts": {},
|
||||
"version": "2.0.0"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user