1 | {
|
---|
2 | "name": "babel-plugin-dynamic-import-node",
|
---|
3 | "version": "2.3.3",
|
---|
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": "tape --require airbnb-js-shims --require babel-register test",
|
---|
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 | "@babel/core": "^7.9.0",
|
---|
46 | "@babel/plugin-external-helpers": "^7.8.3",
|
---|
47 | "@babel/plugin-transform-template-literals": "^7.8.3",
|
---|
48 | "@babel/preset-env": "^7.9.5",
|
---|
49 | "airbnb-js-shims": "^2.2.1",
|
---|
50 | "babel-cli": "^6.26.0",
|
---|
51 | "babel-core": "^6.26.3",
|
---|
52 | "babel-eslint": "^9.0.0",
|
---|
53 | "babel-plugin-add-module-exports": "^0.2.1",
|
---|
54 | "babel-plugin-external-helpers": "^6.22.0",
|
---|
55 | "babel-plugin-transform-es2015-template-literals": "^6.22.0",
|
---|
56 | "babel-plugin-transform-replace-object-assign": "^1.0.0",
|
---|
57 | "babel-preset-airbnb": "^2.6.0",
|
---|
58 | "babel-preset-es2015": "^6.24.1",
|
---|
59 | "babel-register": "^6.26.0",
|
---|
60 | "eslint": "^6.8.0",
|
---|
61 | "eslint-config-airbnb-base": "^14.1.0",
|
---|
62 | "eslint-plugin-import": "^2.20.2",
|
---|
63 | "in-publish": "^2.0.1",
|
---|
64 | "rimraf": "^2.7.1",
|
---|
65 | "safe-publish-latest": "^1.1.4",
|
---|
66 | "tape": "^5.0.0-next.5"
|
---|
67 | },
|
---|
68 | "dependencies": {
|
---|
69 | "object.assign": "^4.1.0"
|
---|
70 | }
|
---|
71 | }
|
---|