mirror of
https://github.com/zhigang1992/connect.git
synced 2026-01-12 22:46:28 +08:00
67 lines
1.9 KiB
JSON
67 lines
1.9 KiB
JSON
{
|
|
"name": "@stacks/connect-react",
|
|
"version": "9.0.0",
|
|
"scripts": {
|
|
"build": "concurrently 'yarn build:modules' 'yarn types'",
|
|
"build:modules": "tsdx build --format cjs,esm,umd",
|
|
"types": "tsc --project tsconfig.json --emitDeclarationOnly",
|
|
"dev": "cd ../test-app && yarn start",
|
|
"lint": "yarn lint:eslint && yarn lint:prettier",
|
|
"lint:eslint": "eslint \"src/**/*.{ts,tsx}\"",
|
|
"lint:fix": "eslint \"src/**/*.{ts,tsx}\" --fix",
|
|
"lint:prettier": "prettier --check \"src/**/*.{ts,tsx}\" *.js",
|
|
"lint:prettier:fix": "prettier --write \"src/**/*.{ts,tsx}\" *.js",
|
|
"prepublishOnly": "yarn build",
|
|
"start": "tsdx watch",
|
|
"test": "tsdx test",
|
|
"typecheck": "tsc --project tsconfig.json --noEmit"
|
|
},
|
|
"prettier": "@stacks/prettier-config",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"sideEffects": false,
|
|
"typings": "dist/types/index.d.ts",
|
|
"bundlesize": [
|
|
{
|
|
"path": "./dist/**/*.js",
|
|
"maxSize": "9 kB"
|
|
}
|
|
],
|
|
"dependencies": {
|
|
"@stacks/auth": "^1.2.3",
|
|
"@stacks/connect": "^5.4.0",
|
|
"esbuild": "^0.9.3",
|
|
"jsontokens": "^3.0.0",
|
|
"rollup-plugin-esbuild": "^3.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/helper-validator-identifier": "^7.12.11",
|
|
"@babel/plugin-proposal-optional-chaining": "^7.13.8",
|
|
"@babel/preset-react": "^7.12.13",
|
|
"@babel/preset-typescript": "^7.13.0",
|
|
"@types/jest": "^26.0.21",
|
|
"@types/react-dom": "^17.0.2",
|
|
"@types/styled-components": "^5.1.9",
|
|
"bundlesize": "^0.18.1",
|
|
"concurrently": "^6.0.0",
|
|
"husky": "^5.1.3",
|
|
"prettier": "^2.2.1",
|
|
"rollup": "^2.41.4",
|
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
"tsdx": "^0.14.1",
|
|
"tslib": "^2.1.0"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"license": "MIT",
|
|
"main": "dist/index.js",
|
|
"module": "dist/connect-react.esm.js",
|
|
"peerDependencies": {
|
|
"@stacks/connect": "^5.4.0",
|
|
"react": "^16.x || 17.x",
|
|
"react-dom": "^16.x || 17.x"
|
|
}
|
|
}
|