0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-03-24 22:41:28 -05:00

refactor(shared,connector-core): prepare for publishing (#1828)

* refactor(shared): remove `private: true`

* refactor(connector-core): change license to MIT

* chore(shared,connector-core): add publishConfig
This commit is contained in:
Gao Sun 2022-08-29 23:50:55 +08:00 committed by GitHub
parent 9fa1bdfa19
commit 0f6b640905
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 5 deletions

View file

@ -5,7 +5,7 @@
"exports": "./lib/index.js",
"typings": "./lib/index.d.ts",
"author": "Silverhand Inc. <contact@silverhand.io>",
"license": "MPL-2.0",
"license": "MIT",
"files": [
"lib"
],
@ -37,5 +37,8 @@
"eslintConfig": {
"extends": "@silverhand"
},
"prettier": "@silverhand/eslint-config/.prettierrc"
"prettier": "@silverhand/eslint-config/.prettierrc",
"publishConfig": {
"access": "public"
}
}

View file

@ -3,13 +3,12 @@
"version": "1.0.0-beta.5",
"main": "lib/index.js",
"author": "Silverhand Inc. <contact@silverhand.io>",
"license": "MPL-2.0",
"license": "MIT",
"files": [
"declaration",
"lib",
"scss"
],
"private": true,
"scripts": {
"precommit": "lint-staged",
"build": "rm -rf lib/ && tsc -p tsconfig.build.json",
@ -47,5 +46,8 @@
"stylelint": {
"extends": "@silverhand/eslint-config-react/.stylelintrc"
},
"prettier": "@silverhand/eslint-config/.prettierrc"
"prettier": "@silverhand/eslint-config/.prettierrc",
"publishConfig": {
"access": "public"
}
}