-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(create): add create function (#24)
This also upgrades all tooling to kcd-scripts Closes #20
- Loading branch information
Kent C. Dodds
authored
Sep 8, 2017
1 parent
fa9ae8f
commit 386f01b
Showing
22 changed files
with
105 additions
and
254 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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
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 @@ | ||
module.exports = require('./dist').createMacro |
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 was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -4,62 +4,36 @@ | |
"description": "Enables zero-config, importable babel plugins", | ||
"main": "dist/index.js", | ||
"scripts": { | ||
"start": "nps", | ||
"test": "nps test", | ||
"precommit": "lint-staged && opt --in pre-commit --exec \"npm start validate\"" | ||
"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" | ||
}, | ||
"files": [ | ||
"dist" | ||
"files": ["dist", "create.js"], | ||
"keywords": [ | ||
"babel-plugin", | ||
"macros", | ||
"macro", | ||
"babel-macro", | ||
"babel-plugin-macro" | ||
], | ||
"keywords": [], | ||
"author": "Kent C. Dodds <[email protected]> (http://kentcdodds.com/)", | ||
"license": "MIT", | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"all-contributors-cli": "^4.3.0", | ||
"ast-pretty-print": "^2.0.0", | ||
"babel-cli": "^6.24.1", | ||
"babel-core": "^6.25.0", | ||
"babel-jest": "^20.0.3", | ||
"babel-plugin-tester": "^3.2.2", | ||
"babel-plugin-transform-class-properties": "^6.24.1", | ||
"babel-plugin-transform-object-rest-spread": "^6.23.0", | ||
"babel-preset-env": "^1.5.1", | ||
"babel-register": "^6.24.1", | ||
"babel-types": "6.25.0", | ||
"babylon": "6.17.4", | ||
"doctoc": "^1.3.0", | ||
"eslint": "^4.1.1", | ||
"eslint-config-kentcdodds": "^12.4.0", | ||
"husky": "^0.14.3", | ||
"jest": "^20.0.4", | ||
"lint-staged": "^4.0.1", | ||
"nps": "^5.3.1", | ||
"nps-utils": "^1.2.0", | ||
"opt-cli": "^1.5.1", | ||
"prettier-eslint-cli": "^4.0.2" | ||
"kcd-scripts": "0.3.4" | ||
}, | ||
"lint-staged": { | ||
"*.js": [ | ||
"prettier-eslint --write", | ||
"git add" | ||
] | ||
}, | ||
"jest": { | ||
"testEnvironment": "node", | ||
"testPathIgnorePatterns": [ | ||
"/node_modules/", | ||
"/fixtures/" | ||
], | ||
"coverageThreshold": { | ||
"global": { | ||
"branches": 100, | ||
"functions": 100, | ||
"lines": 100, | ||
"statements": 100 | ||
} | ||
} | ||
"eslintConfig": { | ||
"extends": "./node_modules/kcd-scripts/eslint.js" | ||
}, | ||
"eslintIgnore": ["node_modules", "coverage", "dist"], | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/kentcdodds/babel-macros.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
Oops, something went wrong.