-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c1b47e7
commit 3cea2b5
Showing
9 changed files
with
2,609 additions
and
482 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 |
---|---|---|
|
@@ -59,3 +59,6 @@ typings/ | |
|
||
# next.js build output | ||
.next | ||
|
||
# pika pkg | ||
/pkg |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# DEV notes | ||
|
||
## Release a new version | ||
|
||
1. Edit version in package.json | ||
2. Run `yarn build` | ||
3. Publish `cd pkg && npm publish && cd -` | ||
4. Commit and push | ||
|
||
```sh | ||
git add . | ||
git commit -m ':bookmark: v' | ||
git push | ||
``` |
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,12 @@ | ||
module.exports = { | ||
presets: [ | ||
[ | ||
'@babel/preset-env', | ||
{ | ||
targets: { | ||
node: 'current', | ||
}, | ||
}, | ||
], | ||
], | ||
} |
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,22 +1,44 @@ | ||
{ | ||
"name": "use-bus", | ||
"version": "2.2.0", | ||
"version": "2.3.0", | ||
"main": "index.js", | ||
"module": "index.js", | ||
"repository": "[email protected]:fabienjuif/use-bus.git", | ||
"keywords": [ | ||
"react", | ||
"hook", | ||
"bus", | ||
"eventbus", | ||
"dispatch", | ||
"share", | ||
"actions", | ||
"events", | ||
"event", | ||
"message", | ||
"messages", | ||
"nantes" | ||
], | ||
"author": "Fabien JUIF <[email protected]>", | ||
"license": "MIT", | ||
"types": "index.d.ts", | ||
"types": "src/index.d.ts", | ||
"scripts": { | ||
"build": "pika build", | ||
"pika-publish": "pika publish", | ||
"version": "npm run build", | ||
"lint": "eslint . --cache", | ||
"test": "jest" | ||
}, | ||
"peerDependencies": { | ||
"react": "^16.8" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.6.2", | ||
"@babel/preset-env": "^7.6.2", | ||
"@babel/core": "^7.9.0", | ||
"@babel/preset-env": "^7.9.5", | ||
"@babel/preset-react": "^7.9.4", | ||
"@pika/pack": "^0.5.0", | ||
"@pika/plugin-build-node": "^0.9.2", | ||
"@pika/plugin-build-web": "^0.9.2", | ||
"@pika/plugin-standard-pkg": "^0.9.2", | ||
"@testing-library/react-hooks": "^2.0.1", | ||
"babel-jest": "^24.9.0", | ||
"coveralls": "^3.0.6", | ||
|
@@ -30,11 +52,6 @@ | |
"react": "^16.10.1", | ||
"react-test-renderer": "^16.10.1" | ||
}, | ||
"babel": { | ||
"presets": [ | ||
"@babel/preset-env" | ||
] | ||
}, | ||
"eslintConfig": { | ||
"extends": "airbnb", | ||
"rules": { | ||
|
@@ -43,5 +60,26 @@ | |
"never" | ||
] | ||
} | ||
}, | ||
"babel": { | ||
"presets": [ | ||
"@babel/preset-react" | ||
] | ||
}, | ||
"@pika/pack": { | ||
"pipeline": [ | ||
[ | ||
"@pika/plugin-standard-pkg" | ||
], | ||
[ | ||
"@pika/plugin-build-node" | ||
], | ||
[ | ||
"@pika/plugin-build-web" | ||
], | ||
[ | ||
"@pika/plugin-standard-pkg" | ||
] | ||
] | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.