-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING CHANGE: Node support bumped to Node >= 8
- Loading branch information
Kent C. Dodds
committed
Nov 14, 2019
1 parent
1e42fa0
commit c50df22
Showing
6 changed files
with
68 additions
and
83 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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"arrowParens": "avoid", | ||
"bracketSpacing": false, | ||
"htmlWhitespaceSensitivity": "css", | ||
"insertPragma": false, | ||
"jsxBracketSameLine": false, | ||
"jsxSingleQuote": false, | ||
"printWidth": 80, | ||
"proseWrap": "always", | ||
"quoteProps": "as-needed", | ||
"requirePragma": false, | ||
"semi": false, | ||
"singleQuote": true, | ||
"tabWidth": 2, | ||
"trailingComma": "all", | ||
"useTabs": false | ||
} |
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
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 |
---|---|---|
|
@@ -3,18 +3,21 @@ | |
"version": "0.0.0-semantically-released", | ||
"description": "Pre-evaluate code at build-time", | ||
"engines": { | ||
"node": ">=4", | ||
"npm": ">=3" | ||
"node": ">=8", | ||
"npm": ">=6" | ||
}, | ||
"main": "dist/index.js", | ||
"scripts": { | ||
"add-contributor": "kcd-scripts contributors add", | ||
"build": "kcd-scripts build", | ||
"lint": "kcd-scripts lint", | ||
"test": "kcd-scripts test", | ||
"test:update": "npm test -- --updateSnapshot --coverage", | ||
"validate": "kcd-scripts validate", | ||
"precommit": "kcd-scripts precommit" | ||
"validate": "kcd-scripts validate" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "kcd-scripts pre-commit" | ||
} | ||
}, | ||
"files": [ | ||
"dist", | ||
|
@@ -30,13 +33,14 @@ | |
"author": "Kent C. Dodds <[email protected]> (http://kentcdodds.com/)", | ||
"license": "MIT", | ||
"dependencies": { | ||
"babel-plugin-macros": "^2.2.2", | ||
"@babel/runtime": "^7.7.2", | ||
"babel-plugin-macros": "^2.6.1", | ||
"require-from-string": "^2.0.2" | ||
}, | ||
"devDependencies": { | ||
"ast-pretty-print": "^2.0.1", | ||
"babel-plugin-tester": "^5.4.0", | ||
"kcd-scripts": "^0.39.1" | ||
"babel-plugin-tester": "^7.0.3", | ||
"kcd-scripts": "^1.11.0" | ||
}, | ||
"eslintConfig": { | ||
"extends": "./node_modules/kcd-scripts/eslint.js" | ||
|
@@ -47,7 +51,9 @@ | |
"dist" | ||
], | ||
"babel": { | ||
"presets": "kcd-scripts/babel" | ||
"presets": [ | ||
"kcd-scripts/babel" | ||
] | ||
}, | ||
"repository": { | ||
"type": "git", | ||
|
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,4 +1,4 @@ | ||
{ | ||
"presets": ["env"], | ||
"plugins": ["transform-inline-environment-variables"], | ||
"presets": ["@babel/preset-env"], | ||
"plugins": ["transform-inline-environment-variables"] | ||
} |
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
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