103 lines
4.1 KiB
JSON
103 lines
4.1 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
{
|
|
"raw": "babel-plugin-transform-strict-mode@^6.24.1",
|
|
"scope": null,
|
|
"escapedName": "babel-plugin-transform-strict-mode",
|
|
"name": "babel-plugin-transform-strict-mode",
|
|
"rawSpec": "^6.24.1",
|
|
"spec": ">=6.24.1 <7.0.0",
|
|
"type": "range"
|
|
},
|
|
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/babel-plugin-transform-es2015-modules-commonjs"
|
|
]
|
|
],
|
|
"_from": "babel-plugin-transform-strict-mode@>=6.24.1 <7.0.0",
|
|
"_id": "babel-plugin-transform-strict-mode@6.24.1",
|
|
"_inCache": true,
|
|
"_location": "/babel-plugin-transform-strict-mode",
|
|
"_nodeVersion": "6.9.0",
|
|
"_npmOperationalInternal": {
|
|
"host": "packages-18-east.internal.npmjs.com",
|
|
"tmp": "tmp/babel-plugin-transform-strict-mode-6.24.1.tgz_1491578349467_0.8609954498242587"
|
|
},
|
|
"_npmUser": {
|
|
"name": "hzoo",
|
|
"email": "hi@henryzoo.com"
|
|
},
|
|
"_npmVersion": "3.10.10",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"raw": "babel-plugin-transform-strict-mode@^6.24.1",
|
|
"scope": null,
|
|
"escapedName": "babel-plugin-transform-strict-mode",
|
|
"name": "babel-plugin-transform-strict-mode",
|
|
"rawSpec": "^6.24.1",
|
|
"spec": ">=6.24.1 <7.0.0",
|
|
"type": "range"
|
|
},
|
|
"_requiredBy": [
|
|
"/babel-plugin-transform-es2015-modules-commonjs"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/babel-plugin-transform-strict-mode/-/babel-plugin-transform-strict-mode-6.24.1.tgz",
|
|
"_shasum": "d5faf7aa578a65bbe591cf5edae04a0c67020758",
|
|
"_shrinkwrap": null,
|
|
"_spec": "babel-plugin-transform-strict-mode@^6.24.1",
|
|
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/babel-plugin-transform-es2015-modules-commonjs",
|
|
"dependencies": {
|
|
"babel-runtime": "^6.22.0",
|
|
"babel-types": "^6.24.1"
|
|
},
|
|
"description": "This plugin places a 'use strict'; directive at the top of all files to enable strict mode",
|
|
"devDependencies": {
|
|
"babel-helper-plugin-test-runner": "^6.24.1"
|
|
},
|
|
"directories": {},
|
|
"dist": {
|
|
"shasum": "d5faf7aa578a65bbe591cf5edae04a0c67020758",
|
|
"tarball": "https://registry.npmjs.org/babel-plugin-transform-strict-mode/-/babel-plugin-transform-strict-mode-6.24.1.tgz"
|
|
},
|
|
"keywords": [
|
|
"babel-plugin"
|
|
],
|
|
"license": "MIT",
|
|
"main": "lib/index.js",
|
|
"maintainers": [
|
|
{
|
|
"name": "amasad",
|
|
"email": "amjad.masad@gmail.com"
|
|
},
|
|
{
|
|
"name": "hzoo",
|
|
"email": "hi@henryzoo.com"
|
|
},
|
|
{
|
|
"name": "jmm",
|
|
"email": "npm-public@jessemccarthy.net"
|
|
},
|
|
{
|
|
"name": "loganfsmyth",
|
|
"email": "loganfsmyth@gmail.com"
|
|
},
|
|
{
|
|
"name": "sebmck",
|
|
"email": "sebmck@gmail.com"
|
|
},
|
|
{
|
|
"name": "thejameskyle",
|
|
"email": "me@thejameskyle.com"
|
|
}
|
|
],
|
|
"name": "babel-plugin-transform-strict-mode",
|
|
"optionalDependencies": {},
|
|
"readme": "# babel-plugin-transform-strict-mode\n\n> This plugin places a `\"use strict\";` directive at the top of all files to enable [strict mode](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode).\n\nThis plugin may be enabled via `babel-plugin-transform-es2015-modules-commonjs`.\nIf you wish to disable it you can either turn `strict` off or pass\n`strictMode: false` as an option to the commonjs transform.\n\n## Example\n\n**In**\n\n```javascript\nfoo();\n```\n\n**Out**\n\n```javascript\n\"use strict\";\n\nfoo();\n```\n\n## Installation\n\n```sh\nnpm install --save-dev babel-plugin-transform-strict-mode\n```\n\n## Usage\n\n### Via `.babelrc` (Recommended)\n\n**.babelrc**\n\nWithout options:\n\n```json\n{\n \"plugins\": [\"transform-strict-mode\"]\n}\n```\n\nWith options:\n\n```json\n{\n \"plugins\": [\n [\"transform-strict-mode\", {\n \"strict\": true\n }]\n ]\n}\n```\n\n### Via CLI\n\n```sh\nbabel --plugins transform-strict-mode script.js\n```\n\n### Via Node API\n\n```javascript\nrequire(\"babel-core\").transform(\"code\", {\n plugins: [\"transform-strict-mode\"]\n});\n```\n",
|
|
"readmeFilename": "README.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-strict-mode"
|
|
},
|
|
"scripts": {},
|
|
"version": "6.24.1"
|
|
}
|