125 lines
3.2 KiB
JSON
125 lines
3.2 KiB
JSON
{
|
|
"_from": "use-sidecar@^1.1.3",
|
|
"_id": "use-sidecar@1.1.3",
|
|
"_inBundle": false,
|
|
"_integrity": "sha512-Fedw0aZvkhynoPYlA5WXrMCAMm+nSWdZt6lzJQ7Ok8S6Q+VsHmHpRWndVRJ8Be0ZbkfPc5LRYH+5XrzXcEeLRQ==",
|
|
"_location": "/use-sidecar",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"type": "range",
|
|
"registry": true,
|
|
"raw": "use-sidecar@^1.1.3",
|
|
"name": "use-sidecar",
|
|
"escapedName": "use-sidecar",
|
|
"rawSpec": "^1.1.3",
|
|
"saveSpec": null,
|
|
"fetchSpec": "^1.1.3"
|
|
},
|
|
"_requiredBy": [
|
|
"/react-remove-scroll"
|
|
],
|
|
"_resolved": "https://registry.npmmirror.com/use-sidecar/-/use-sidecar-1.1.3.tgz",
|
|
"_shasum": "10e7fd897d130b896e2c546c63a5e8233d00efdb",
|
|
"_spec": "use-sidecar@^1.1.3",
|
|
"_where": "/Users/hongbin9/www/botgroup.chat/node_modules/react-remove-scroll",
|
|
"author": {
|
|
"name": "theKashey",
|
|
"email": "thekashey@gmail.com"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/theKashey/use-sidecar/issues"
|
|
},
|
|
"bundleDependencies": false,
|
|
"dependencies": {
|
|
"detect-node-es": "^1.1.0",
|
|
"tslib": "^2.0.0"
|
|
},
|
|
"deprecated": false,
|
|
"description": "Sidecar code splitting utils",
|
|
"devDependencies": {
|
|
"@size-limit/preset-small-lib": "^11.0.2",
|
|
"@theuiteam/lib-builder": "^0.1.4",
|
|
"@types/enzyme-adapter-react-16": "^1.0.6",
|
|
"enzyme-adapter-react-16": "^1.15.6",
|
|
"react": "^16.8.6",
|
|
"react-dom": "^16.8.6",
|
|
"size-limit": "^11.0.2"
|
|
},
|
|
"engines": {
|
|
"node": ">=10"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"homepage": "https://github.com/theKashey/use-sidecar",
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"keywords": [
|
|
"code spliting",
|
|
"react",
|
|
"sidecar"
|
|
],
|
|
"license": "MIT",
|
|
"lint-staged": {
|
|
"*.{ts,tsx}": [
|
|
"prettier --write",
|
|
"eslint --fix",
|
|
"git add"
|
|
],
|
|
"*.{js,css,json,md}": [
|
|
"prettier --write",
|
|
"git add"
|
|
]
|
|
},
|
|
"main": "dist/es5/index.js",
|
|
"module": "dist/es2015/index.js",
|
|
"module:es2019": "dist/es2019/index.js",
|
|
"name": "use-sidecar",
|
|
"peerDependencies": {
|
|
"@types/react": "*",
|
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@types/react": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"prettier": {
|
|
"printWidth": 120,
|
|
"trailingComma": "es5",
|
|
"tabWidth": 2,
|
|
"semi": true,
|
|
"singleQuote": true
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/theKashey/use-sidecar.git"
|
|
},
|
|
"resolutions": {
|
|
"@types/react": "^19.0.0"
|
|
},
|
|
"scripts": {
|
|
"build": "lib-builder build && yarn size:report",
|
|
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
|
|
"changelog:rewrite": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
|
|
"dev": "lib-builder dev",
|
|
"format": "lib-builder format",
|
|
"lint": "lib-builder lint",
|
|
"prepublish": "yarn build && yarn changelog",
|
|
"release": "yarn build && yarn test",
|
|
"size": "npx size-limit",
|
|
"size:report": "npx size-limit --json > .size.json",
|
|
"test": "jest",
|
|
"test:ci": "jest --runInBand --coverage",
|
|
"update": "lib-builder update"
|
|
},
|
|
"sideEffects": [
|
|
"**/medium.js"
|
|
],
|
|
"types": "dist/es5/index.d.ts",
|
|
"version": "1.1.3"
|
|
}
|