mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-06-16 02:19:08 +00:00
[rpc-client] use src->lib pattern, i guess i see why people do it.
This commit is contained in:
parent
c706f25214
commit
e86f7ff68e
10 changed files with 45 additions and 29 deletions
|
@ -3,7 +3,7 @@
|
|||
"name": "@roleypoly/bot",
|
||||
"version": "2.0.0",
|
||||
"scripts": {
|
||||
"build": "babel --delete-dir-on-start -d lib './*.js*'",
|
||||
"build": "babel --delete-dir-on-start -d lib .",
|
||||
"dev": "yarn build --watch"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
{
|
||||
"presets": [ ["@babel/preset-env", {
|
||||
"targets": {
|
||||
"node": true
|
||||
}
|
||||
}], "@babel/preset-flow" ],
|
||||
"presets": [ "@babel/preset-env", "@babel/preset-flow" ],
|
||||
"plugins": [
|
||||
"@babel/plugin-syntax-dynamic-import",
|
||||
"@babel/plugin-proposal-class-properties",
|
||||
|
|
1
packages/roleypoly-rpc-client/.gitignore
vendored
1
packages/roleypoly-rpc-client/.gitignore
vendored
|
@ -1 +0,0 @@
|
|||
/*.js
|
|
@ -3,11 +3,13 @@
|
|||
"name": "@roleypoly/rpc-client",
|
||||
"version": "2.0.0",
|
||||
"scripts": {
|
||||
"build": "babel -d . src",
|
||||
"dev": "yarn build --watch"
|
||||
"build": "babel -d ./lib ./src",
|
||||
"dev": "yarn build --watch",
|
||||
"postinstall": "test -d lib || npm run build"
|
||||
},
|
||||
"types": "src/",
|
||||
"main": "index.js",
|
||||
"main": "lib/index.js",
|
||||
"files": ["lib"],
|
||||
"dependencies": {
|
||||
"async-retry": "^1.2.3",
|
||||
"superagent": "^5.0.2"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue