@devlander/hooks
Version:
Hooks used in projects
133 lines (132 loc) • 4.52 kB
JSON
{
"name": "@devlander/hooks",
"version": "0.0.218",
"description": "Hooks used in projects",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"browser": "dist/umd/index.js",
"types": "typings/index.d.ts",
"type": "commonjs",
"scripts": {
"prebuild": "npm cache clean --force",
"build:index": "node ./external-modules/auto-export.js",
"build:esm": "tsc",
"test": "jest",
"docs": "typedoc --out ./docs ./src",
"format": "prettier --write 'src/**/*.{ts,tsx}'",
"lint": "eslint ./src --ext .ts,.tsx --fix && yarn run format && yarn run typecheck ",
"typecheck": "tsc --project tsconfig.json --noEmit --emitDeclarationOnly false",
"build": "npx rimraf ./dist && npx rimraf ./typings && yarn run build:index && yarn build:esm && yarn build:umd",
"build:umd": "yarn run rollup -c ",
"timeout": "delay 5",
"push-main": "git add -A && yarn run timeout && git commit -m 'updated build' && yarn run timeout && git push origin main",
"start-publish": "yarn run lint && yarn run build && npm publish",
"prepare": "yarn run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Devlander-Software/hooks.git"
},
"keywords": [
"react",
"react-native",
"typescript",
"hooks",
"devlander"
],
"author": "Landon Johnson",
"license": "ISC",
"bugs": {
"url": "https://github.com/Devlander-Software/hooks/issues"
},
"homepage": "https://github.com/Devlander-Software/hooks#readme",
"files": [
"dist",
"typings"
],
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0",
"react-dom": "^16.8.0 || ^17.0.0",
"react-native-web": "^0.11.7"
},
"peerDependenciesMeta": {
"react": {
"optional": true
},
"react-dom": {
"optional": true
},
"react-native-web": {
"optional": true
}
},
"devDependencies": {
"@babel/core": "^7.23.3",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-decorators": "^7.23.0",
"@babel/plugin-transform-class-properties": "^7.22.5",
"@babel/plugin-transform-object-rest-spread": "^7.22.15",
"@babel/plugin-transform-react-jsx": "^7.22.15",
"@babel/plugin-transform-runtime": "^7.22.15",
"@babel/preset-env": "^7.23.3",
"@babel/preset-react": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@babel/runtime": "^7.22.15",
"@devlander/collect-exports-for-bundle": "^1.1.68",
"@rollup/plugin-alias": "^5.0.0",
"@rollup/plugin-auto-install": "^3.0.4",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^25.0.4",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.2.1",
"@rollup/plugin-terser": "0.4.3",
"@rollup/plugin-typescript": "^11.1.3",
"@swc/core": "^1.3.95",
"@testing-library/react-hooks": "latest",
"@testing-library/react-native": "^12.4.3",
"@types/jest": "^29.5.6",
"@types/jsdom-global": "^3.0.7",
"@types/node": "^20.6.0",
"@types/react": "^18.2.28",
"@types/react-native": "0.72.6",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"babel-jest": "^29.7.0",
"cli-progress": "^3.12.0",
"eslint": "^8.53.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jest": "^27.6.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-native": "^4.1.0",
"eslint-plugin-testing-library": "^6.1.0",
"eslint-plugin-unused-imports": "^3.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jsdom": "^23.0.1",
"prettier": "^3.0.3",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-native-web": "0.19.9",
"react-test-renderer": "^18.3.1",
"rollup": "^3.29.1",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-dts": "^6.0.2",
"rollup-plugin-generate-git-version": "^1.0.0",
"rollup-plugin-generate-package-json": "^3.2.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-string": "^3.0.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-swc-preserve-directives": "^0.5.0",
"tslib": "^2.6.2",
"typedoc": "^0.26.5"
},
"dependencies": {
"@devlander/utils": "^0.0.84",
"jsdom-global": "^3.0.2"
},
"packageManager": "yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610"
}