Browse Source

Drop Node 6 support; Remove babel

master
Feross Aboukhadijeh 7 years ago
parent
commit
61f4e50bc2
  1. 5
      .babelrc
  2. 1
      .gitignore
  3. 1
      .npmignore
  4. 0
      bin/cmd.js
  5. 9
      package.json

5
.babelrc

@ -1,5 +0,0 @@
{
"plugins": [
"@babel/plugin-transform-async-to-generator"
]
}

1
.gitignore

@ -1 +0,0 @@
dist/

1
.npmignore

@ -1,4 +1,3 @@
.babelrc
.travis.yml
img/
src/

0
src/cmd.js → bin/cmd.js

9
package.json

@ -7,7 +7,7 @@
"email": "feross@feross.org",
"url": "https://feross.org"
},
"bin": "dist/cmd.js",
"bin": "bin/cmd.js",
"bugs": {
"url": "https://github.com/feross/thanks/issues"
},
@ -31,9 +31,6 @@
"text-table": "^0.2.0"
},
"devDependencies": {
"@babel/cli": "^7.0.0-beta.39",
"@babel/core": "^7.0.0-beta.39",
"@babel/plugin-transform-async-to-generator": "^7.0.0-beta.39",
"standard": "*"
},
"engines": {
@ -60,8 +57,6 @@
"url": "git://github.com/feross/thanks.git"
},
"scripts": {
"build": "mkdir -p dist && babel src/cmd.js > dist/cmd.js && chmod +x dist/cmd.js",
"prepare": "npm run build",
"test": "standard && npm run build && ./dist/cmd.js --no-open"
"test": "standard && ./bin/cmd.js --no-open"
}
}

Loading…
Cancel
Save