diff options
| author | ruki <waruqi@gmail.com> | 2018-11-08 00:38:48 +0800 |
|---|---|---|
| committer | ruki <waruqi@gmail.com> | 2018-11-07 21:53:09 +0800 |
| commit | 26105034da4fcce7ac883c899d781f016559310d (patch) | |
| tree | c459a5dc4e3aa0972d9919033ece511ce76dd129 /node_modules/babel-plugin-dynamic-import-node/package.json | |
| parent | 2c77f00f1a7ecb6c8192f9c16d3b2001b254a107 (diff) | |
| download | xmake-docs-26105034da4fcce7ac883c899d781f016559310d.tar.gz xmake-docs-26105034da4fcce7ac883c899d781f016559310d.zip | |
switch to vuepress
Diffstat (limited to 'node_modules/babel-plugin-dynamic-import-node/package.json')
| -rw-r--r-- | node_modules/babel-plugin-dynamic-import-node/package.json | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/node_modules/babel-plugin-dynamic-import-node/package.json b/node_modules/babel-plugin-dynamic-import-node/package.json new file mode 100644 index 00000000..b1c22cf1 --- /dev/null +++ b/node_modules/babel-plugin-dynamic-import-node/package.json @@ -0,0 +1,65 @@ +{ + "name": "babel-plugin-dynamic-import-node", + "version": "1.2.0", + "description": "Babel plugin to transpile import() to a deferred require(), for node", + "main": "lib/index.js", + "directories": { + "test": "test" + }, + "scripts": { + "clean": "rimraf lib", + "prebuild": "npm run clean", + "build": "babel src --out-dir lib", + "pretest": "npm run lint", + "test": "npm run tests-only", + "tests-only": "mocha", + "lint": "eslint .", + "prepublish": "not-in-publish || (safe-publish-latest && npm run build)", + "check-changelog": "expr $(git status --porcelain 2>/dev/null| grep \"^\\s*M.*CHANGELOG.md\" | wc -l) >/dev/null || (echo 'Please edit CHANGELOG.md' && exit 1)", + "check-only-changelog-changed": "(expr $(git status --porcelain 2>/dev/null| grep -v \"CHANGELOG.md\" | wc -l) >/dev/null && echo 'Only CHANGELOG.md may have uncommitted changes' && exit 1) || exit 0", + "version:major": "npm --no-git-tag-version version major", + "version:minor": "npm --no-git-tag-version version minor", + "version:patch": "npm --no-git-tag-version version patch", + "postversion": "git commit package.json CHANGELOG.md -m \"v$npm_package_version\" && npm run tag && git push && git push --tags", + "preversion": "npm run test && npm run check-changelog && npm run check-only-changelog-changed", + "tag": "git tag v$npm_package_version" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/airbnb/babel-plugin-dynamic-import-node.git" + }, + "keywords": [ + "babel", + "plugin", + "dynamic", + "import", + "node" + ], + "author": "Jordan Gensler <jordan.gensler@airbnb.com>", + "license": "MIT", + "bugs": { + "url": "https://github.com/airbnb/babel-plugin-dynamic-import-node/issues" + }, + "homepage": "https://github.com/airbnb/babel-plugin-dynamic-import-node#readme", + "devDependencies": { + "airbnb-js-shims": "^1.3.0", + "babel-cli": "^6.26.0", + "babel-core": "^6.26.0", + "babel-eslint": "^7.2.3", + "babel-plugin-transform-es2015-template-literals": "^6.22.0", + "babel-preset-airbnb": "^2.4.0", + "babel-preset-es2015": "^6.24.1", + "babel-register": "^6.26.0", + "chai": "^4.1.2", + "eslint": "^4.11.0", + "eslint-config-airbnb-base": "^12.1.0", + "eslint-plugin-import": "^2.8.0", + "in-publish": "^2.0.0", + "mocha": "^3.5.3", + "rimraf": "^2.6.2", + "safe-publish-latest": "^1.1.1" + }, + "dependencies": { + "babel-plugin-syntax-dynamic-import": "^6.18.0" + } +} |
