|
|
@ -2,9 +2,20 @@ |
|
|
|
"name": "htconvert", |
|
|
|
"version": "0.0.0", |
|
|
|
"description": "Convert .htaccess redirects to nginx.conf redirects", |
|
|
|
"main": "index.js", |
|
|
|
"main": "dist/htconvert.js", |
|
|
|
"scripts": { |
|
|
|
"test": "echo \"Error: no test specified\" && exit 1" |
|
|
|
"prebuild": "rm -rf dist", |
|
|
|
"build": "babel -d dist src", |
|
|
|
"test": "echo \"Error: no test specified\" && exit 1", |
|
|
|
"prepublish": "npm run build" |
|
|
|
}, |
|
|
|
"babel": { |
|
|
|
"presets": [ |
|
|
|
"es2015" |
|
|
|
], |
|
|
|
"plugins": [ |
|
|
|
"add-module-exports" |
|
|
|
] |
|
|
|
}, |
|
|
|
"repository": { |
|
|
|
"type": "git", |
|
|
@ -23,5 +34,10 @@ |
|
|
|
"bugs": { |
|
|
|
"url": "https://github.com/lukechilds/htconvert/issues" |
|
|
|
}, |
|
|
|
"homepage": "https://github.com/lukechilds/htconvert#readme" |
|
|
|
"homepage": "https://github.com/lukechilds/htconvert#readme", |
|
|
|
"devDependencies": { |
|
|
|
"babel-cli": "^6.9.0", |
|
|
|
"babel-plugin-add-module-exports": "^0.2.1", |
|
|
|
"babel-preset-es2015": "^6.9.0" |
|
|
|
} |
|
|
|
} |
|
|
|