forked from ArnoSaine/react-pouchdb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
94 lines (94 loc) · 2.95 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"name": "react-pouchdb",
"version": "2.1.0",
"description": "React wrapper for PouchDB that also subscribes to changes.",
"main": "cjs",
"module": "es",
"scripts": {
"build": "npm run inbuild --",
"build:todoapp": "npx babel src --out-dir todoapp/node_modules/react-pouchdb/browser/es",
"deploy": "cd todoapp && npm run build && cd .. && gh-pages --dist todoapp/build",
"dev:testapp": "concurrently \"npm run watch\" \"npm link && cd testapp && npm link react-pouchdb && npm start\"",
"dev:todoapp": "concurrently \"npm run watch\" \"npm link && cd todoapp && npm link react-pouchdb && npm start\"",
"eslint": "eslint {{.,testapp,todoapp},{scripts,src,testapp/src,todoapp/src}/**}/*.js --fix",
"inbuild": "node -r esm scripts/build --source-maps",
"lint": "npm run eslint && npm run prettier",
"postbuild": "npm run update-submodules",
"postpublish": "cd testapp && npm install react-pouchdb@latest && cd ../todoapp && npm install react-pouchdb@latest",
"prebuild": "rimraf browser cjs es node",
"prepack": "npm run build",
"prettier": "npm run prettier:write -- {{.,testapp,todoapp},{scripts,src,testapp/src,todoapp/src}/**}/*.{js,json} !./package-lock.json",
"prettier:write": "prettier --config .prettierrc.js --write",
"preversion": "npm run lint",
"update-submodules": "node -r esm scripts/update-submodules",
"version": "npm run update-submodules --",
"watch": "npm run build && concurrently \"npm run inbuild -- --watch --skip-initial-build\" \"npm run update-submodules\""
},
"keywords": [
"react",
"pouchdb",
"couchdb"
],
"repository": {
"type": "git",
"url": "https://github.com/ArnoSaine/react-pouchdb.git"
},
"license": "ISC",
"author": {
"name": "Arno Saine",
"email": "arno@mowhi.com"
},
"files": [
"browser",
"cjs",
"es",
"node",
"concurrent"
],
"peerDependencies": {
"react": "^16.8 || 17"
},
"dependencies": {
"@babel/runtime": "^7.6.3",
"fast-json-stable-stringify": "^2.0.0",
"hoist-non-react-statics": "^3.3.0",
"lodash": "^4.17.15",
"pouchdb-collate": "^7.1.1",
"pouchdb-find": "^7.1.1",
"pouchdb-selector-core": "^7.1.1",
"use-subscription": "^1.1.1"
},
"devDependencies": {
"@babel/core": "^7.6.4",
"@babel/preset-flow": "^7.0.0",
"babel-plugin-codegen": "^3.0.0",
"babel-plugin-transform-rename-import": "^2.3.0",
"concurrently": "^5.0.0",
"cross-spawn": "^7.0.1",
"esm": "^3.2.25",
"fs-extra": "^8.1.0",
"gh-pages": "^2.1.1",
"library-util": "^0.5.0",
"pouchdb": "^7.1.1",
"pouchdb-browser": "^7.1.1",
"react": "^16.10.2",
"react-dom": "^16.10.2",
"yargs": "^14.2.0"
},
"lint-staged": {
"*.js": [
"eslint --fix",
"npm run prettier:write",
"git add"
],
"*.{css,json,md}": [
"npm run prettier:write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}