This repository has been archived by the owner on Jun 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 34
/
package.json
58 lines (58 loc) · 2.25 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"name": "babel-plugin-dynamic-import-webpack",
"version": "1.1.0",
"description": "Babel plugin to transpile import() to require.ensure, for Webpack",
"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": "tape --require babel-register test",
"lint": "eslint .",
"prepublish": "in-publish && safe-publish-latest && npm run build || not-in-publish",
"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-webpack.git"
},
"keywords": [
"babel",
"plugin",
"dynamic",
"import",
"webpack"
],
"author": "Jordan Gensler <jordan.gensler@airbnb.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/airbnb/babel-plugin-dynamic-import-webpack/issues"
},
"homepage": "https://github.com/airbnb/babel-plugin-dynamic-import-webpack#readme",
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-eslint": "^8.2.3",
"babel-preset-airbnb": "^2.4.0",
"babel-register": "^6.26.0",
"eslint": "^4.19.1",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-plugin-import": "^2.12.0",
"in-publish": "^2.0.0",
"rimraf": "^2.6.2",
"safe-publish-latest": "^1.1.1",
"tape": "^4.9.0"
}
}