react-sqlite-hook
Version:
React Hook for @Capacitor-community/sqlite plugin
87 lines (86 loc) • 2.26 kB
JSON
{
"name": "react-sqlite-hook",
"version": "3.2.0",
"description": "React Hook for @Capacitor-community/sqlite plugin",
"repository": {
"type": "git",
"url": "git+https://github.com/jepiqueau/react-sqlite-hook.git"
},
"keywords": [
"React",
"Hook",
"Capacitor",
"SQLite"
],
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"scripts": {
"build": "npm run clean && npm run transpile && npm run copy-package",
"copy-package": "cp ./package.json ./dist/package.json",
"package": "npm pack ./dist",
"deploy": "npm run build && npm test && np",
"rollup": "rollup --config rollup.config.js",
"transpile": "tsc --module ES2015 --target es2017 --outDir dist",
"clean": "rimraf dist",
"build-old": "node scripts/build.js",
"docgen": "docgen --api SQLiteHook --output-readme docs/APIHook.md",
"test": "jest"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"peerDependencies": {
"react": "^18.0.0"
},
"devDependencies": {
"@capacitor-community/sqlite": "^4.8.0-0",
"@capacitor/core": "^4.8.0",
"@capacitor/docgen": "0.0.17",
"@testing-library/react-hooks": "^7.0.2",
"@types/jest": "^27.4.1",
"@types/react-test-renderer": "^18.0.0",
"conventional-changelog": "^3.1.25",
"jest": "^27.5.1",
"react": "^18.2.0",
"react-app-polyfill": "^3.0.0",
"react-test-renderer": "^18.2.0",
"replace": "^1.2.0",
"rimraf": "^3.0.2",
"ts-jest": "^27.1.3",
"typescript": "^4.0.5",
"uglify-js": "^3.12.5"
},
"jest": {
"preset": "ts-jest",
"setupFilesAfterEnv": [
"<rootDir>/jest.setup.js"
],
"testPathIgnorePatterns": [
"node_modules",
"dist-transpiled",
"dist",
"test-app"
],
"modulePaths": [
"<rootDir>"
]
},
"author": "Quéau Jean Pierre",
"license": "MIT",
"bugs": {
"url": "https://github.com/jepiqueau/react-sqlite-hook/issues"
},
"homepage": "https://github.com/jepiqueau/react-sqlite-hook#readme"
}