-
-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* replace babel/polyfill with core-js as mentioned during yarn-install * Use rimraf instead of rm for better windows compatibility * Update nyc to fix security warning * Use prepublishOnly since the other commands got deprecated * Update dependencies * Remove node 6 from travis builds * Update yarn.lock
- Loading branch information
Showing
4 changed files
with
512 additions
and
353 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
language: node_js | ||
node_js: | ||
- node | ||
- 10 | ||
- 8 | ||
- 6 | ||
cache: | ||
yarn: true | ||
directories: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,12 +11,11 @@ | |
"lint-markdown": "markdownlint README.md test/data/*.md", | ||
"test": "cross-env NODE_ENV=test nyc mocha test", | ||
"coverage": "nyc report --reporter=json && codecov -f coverage/coverage-final.json", | ||
"clean": "rm -rf lib coverage", | ||
"clean": "rimraf lib coverage", | ||
"build": "babel src -d lib", | ||
"preversion": "npm run lint && npm run test", | ||
"version": "babel-node src/index.js --package && git add CHANGELOG.md", | ||
"prepublish": "npm run clean && npm run build", | ||
"postpublish": "npm run clean", | ||
"prepublishOnly": "npm run clean && npm run build", | ||
"generate-test-data": "cross-env NODE_ENV=test babel-node scripts/generate-test-data.js" | ||
}, | ||
"author": "Pete Cook <[email protected]> (https://github.com/cookpete)", | ||
|
@@ -42,35 +41,42 @@ | |
], | ||
"license": "MIT", | ||
"dependencies": { | ||
"@babel/polyfill": "^7.4.3", | ||
"commander": "^2.20.0", | ||
"handlebars": "^4.0.12", | ||
"core-js": "^3.1.4", | ||
"handlebars": "^4.1.2", | ||
"lodash.uniqby": "^4.7.0", | ||
"node-fetch": "^2.3.0", | ||
"node-fetch": "^2.6.0", | ||
"parse-github-url": "^1.0.2", | ||
"semver": "^6.0.0" | ||
"semver": "^6.1.1" | ||
}, | ||
"devDependencies": { | ||
"@babel/cli": "^7.4.3", | ||
"@babel/core": "^7.4.3", | ||
"@babel/node": "^7.0.0", | ||
"@babel/preset-env": "^7.4.3", | ||
"@babel/register": "^7.4.0", | ||
"babel-eslint": "^10.0.1", | ||
"babel-plugin-istanbul": "^5.1.0", | ||
"@babel/cli": "^7.4.4", | ||
"@babel/core": "^7.4.5", | ||
"@babel/node": "^7.4.5", | ||
"@babel/preset-env": "^7.4.5", | ||
"@babel/register": "^7.4.4", | ||
"babel-eslint": "^10.0.2", | ||
"babel-plugin-istanbul": "^5.1.4", | ||
"babel-plugin-rewire": "^1.2.0", | ||
"chai": "^4.2.0", | ||
"codecov": "^3.3.0", | ||
"codecov": "^3.5.0", | ||
"cross-env": "^5.2.0", | ||
"markdownlint-cli": "^0.15.0", | ||
"mocha": "^6.1.2", | ||
"nyc": "^13.1.0", | ||
"markdownlint-cli": "^0.17.0", | ||
"mocha": "^6.1.4", | ||
"nyc": "^14.1.1", | ||
"rimraf": "^2.6.3", | ||
"snazzy": "^8.0.0", | ||
"standard": "^12.0.1" | ||
}, | ||
"babel": { | ||
"presets": [ | ||
"@babel/preset-env" | ||
[ | ||
"@babel/preset-env", | ||
{ | ||
"useBuiltIns": "usage", | ||
"corejs": 3 | ||
} | ||
] | ||
], | ||
"env": { | ||
"test": { | ||
|
@@ -96,7 +102,7 @@ | |
"report-dir": "./coverage", | ||
"temp-dir": "./coverage/.nyc_output", | ||
"require": [ | ||
"@babel/polyfill", | ||
"core-js/stable", | ||
"@babel/register" | ||
], | ||
"reporter": [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/usr/bin/env node | ||
|
||
import '@babel/polyfill' | ||
import 'core-js/stable' | ||
import run from './run' | ||
|
||
run(process.argv) | ||
|
Oops, something went wrong.