-
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.
fix(macros): update macros to the latest API
- Loading branch information
Kent C. Dodds
committed
Jul 8, 2017
1 parent
635a162
commit 600beb8
Showing
2 changed files
with
40 additions
and
7 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 |
---|---|---|
|
@@ -9,8 +9,15 @@ | |
"commitmsg": "opt --in commit-msg --exec \"validate-commit-msg\"", | ||
"precommit": "lint-staged && opt --in pre-commit --exec \"npm start validate\"" | ||
}, | ||
"files": ["dist"], | ||
"keywords": ["babel", "babel-plugin", "eval", "precompile"], | ||
"files": [ | ||
"dist" | ||
], | ||
"keywords": [ | ||
"babel", | ||
"babel-plugin", | ||
"eval", | ||
"precompile" | ||
], | ||
"author": "Kent C. Dodds <[email protected]> (http://kentcdodds.com/)", | ||
"license": "MIT", | ||
"dependencies": { | ||
|
@@ -23,7 +30,7 @@ | |
"ast-pretty-print": "^2.0.0", | ||
"babel-cli": "^6.24.1", | ||
"babel-jest": "^20.0.3", | ||
"babel-macros": "0.3.0", | ||
"babel-macros": "0.4.0", | ||
"babel-plugin-tester": "^3.2.0", | ||
"babel-plugin-transform-class-properties": "^6.24.1", | ||
"babel-plugin-transform-inline-environment-variables": "0.1.1", | ||
|
@@ -44,11 +51,17 @@ | |
"validate-commit-msg": "^2.12.1" | ||
}, | ||
"lint-staged": { | ||
"*.js": ["prettier-eslint --write --print-width=80", "git add"] | ||
"*.js": [ | ||
"prettier-eslint --write --print-width=80", | ||
"git add" | ||
] | ||
}, | ||
"jest": { | ||
"testEnvironment": "node", | ||
"testPathIgnorePatterns": ["/node_modules/", "/fixtures/"], | ||
"testPathIgnorePatterns": [ | ||
"/node_modules/", | ||
"/fixtures/" | ||
], | ||
"coverageThreshold": { | ||
"global": { | ||
"branches": 100, | ||
|
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