UNPKG

2.49 kBJSONView Raw
1{
2 "name": "babel-plugin-dynamic-import-node",
3 "version": "1.2.0",
4 "description": "Babel plugin to transpile import() to a deferred require(), for node",
5 "main": "lib/index.js",
6 "directories": {
7 "test": "test"
8 },
9 "scripts": {
10 "clean": "rimraf lib",
11 "prebuild": "npm run clean",
12 "build": "babel src --out-dir lib",
13 "pretest": "npm run lint",
14 "test": "npm run tests-only",
15 "tests-only": "mocha",
16 "lint": "eslint .",
17 "prepublish": "not-in-publish || (safe-publish-latest && npm run build)",
18 "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)",
19 "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",
20 "version:major": "npm --no-git-tag-version version major",
21 "version:minor": "npm --no-git-tag-version version minor",
22 "version:patch": "npm --no-git-tag-version version patch",
23 "postversion": "git commit package.json CHANGELOG.md -m \"v$npm_package_version\" && npm run tag && git push && git push --tags",
24 "preversion": "npm run test && npm run check-changelog && npm run check-only-changelog-changed",
25 "tag": "git tag v$npm_package_version"
26 },
27 "repository": {
28 "type": "git",
29 "url": "git+https://github.com/airbnb/babel-plugin-dynamic-import-node.git"
30 },
31 "keywords": [
32 "babel",
33 "plugin",
34 "dynamic",
35 "import",
36 "node"
37 ],
38 "author": "Jordan Gensler <jordan.gensler@airbnb.com>",
39 "license": "MIT",
40 "bugs": {
41 "url": "https://github.com/airbnb/babel-plugin-dynamic-import-node/issues"
42 },
43 "homepage": "https://github.com/airbnb/babel-plugin-dynamic-import-node#readme",
44 "devDependencies": {
45 "airbnb-js-shims": "^1.3.0",
46 "babel-cli": "^6.26.0",
47 "babel-core": "^6.26.0",
48 "babel-eslint": "^7.2.3",
49 "babel-plugin-transform-es2015-template-literals": "^6.22.0",
50 "babel-preset-airbnb": "^2.4.0",
51 "babel-preset-es2015": "^6.24.1",
52 "babel-register": "^6.26.0",
53 "chai": "^4.1.2",
54 "eslint": "^4.11.0",
55 "eslint-config-airbnb-base": "^12.1.0",
56 "eslint-plugin-import": "^2.8.0",
57 "in-publish": "^2.0.0",
58 "mocha": "^3.5.3",
59 "rimraf": "^2.6.2",
60 "safe-publish-latest": "^1.1.1"
61 },
62 "dependencies": {
63 "babel-plugin-syntax-dynamic-import": "^6.18.0"
64 }
65}