This repository has been archived by the owner on Apr 13, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
148 lines (148 loc) · 4.16 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
{
"name": "@textile/threaddb",
"version": "0.0.5",
"description": "ThreadDB Javascript implementation",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"bundle": "dist/index.esm.js",
"types": "dist/esm/index.d.ts",
"files": [
"dist/**/!(*.spec).js?(.map)",
"dist/**/!(*.spec).d.ts"
],
"scripts": {
"prepublishOnly": "npm run build",
"build": "npm run build:cjs && npm run build:esm && npm run build:bundle",
"build:cjs": "tsc --outDir dist/cjs --declaration false --module CommonJS",
"build:esm": "tsc --outDir dist/esm --declaration --module ES6",
"build:bundle": "rollup -c",
"clean": "rimraf ./dist ./coverage ./build ./.nyc_output ./tsconfig.tsbuildinfo",
"test": "npm run test:node && npm run test:browser",
"test:browser": "polendina src/**/*.spec.ts --webpack-config=./webpack.test.js",
"test:node": "env TS_NODE_FILES=true TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --reporter=lcov mocha",
"lint": "eslint",
"docs": "typedoc",
"version": "standard-version",
"textile:check": "npx ncu '/^@textile/.*$/'",
"textile:update": "npx ncu -u '/^@textile/.*$/'"
},
"keywords": [
"database",
"ipfs",
"textile",
"local-first",
"p2p"
],
"author": "Textile <contact@textile.io>",
"license": "MIT",
"devDependencies": {
"@babel/polyfill": "^7.12.1",
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@rollup/plugin-commonjs": "^16.0.0",
"@rollup/plugin-inject": "^4.0.2",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^10.0.0",
"@types/chai": "^4.2.14",
"@types/mocha": "^8.0.3",
"@typescript-eslint/eslint-plugin": "^4.5.0",
"@typescript-eslint/parser": "^4.5.0",
"@wessberg/rollup-plugin-ts": "^1.3.8",
"chai": "^4.2.0",
"eslint": "^7.11.0",
"eslint-config-prettier": "^7.0.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-promise": "^4.2.1",
"esm": "^3.2.25",
"husky": "^4.3.0",
"mocha": "^8.2.0",
"mocha-explorer-launcher-scripts": "^0.3.0",
"nyc": "^15.1.0",
"polendina": "^1.1.0",
"prettier": "^2.1.2",
"rimraf": "^3.0.2",
"rollup": "^2.33.3",
"rollup-plugin-terser": "^7.0.2",
"standard-version": "^9.0.0",
"ts-loader": "^8.0.6",
"ts-node": "^9.0.0",
"typedoc": "^0.19.2",
"typescript": "^4.0.3"
},
"dependencies": {
"@improbable-eng/grpc-web": "^0.13.0",
"@textile/context": "^0.9.2",
"@textile/crypto": "^2.0.0",
"@textile/grpc-transport": "0.2.1",
"@textile/security": "^0.6.2",
"@textile/threads-client": "^1.3.2",
"@textile/threads-client-grpc": "^1.0.2",
"@textile/threads-id": "^0.3.1",
"@types/json-schema": "^7.0.6",
"@types/to-json-schema": "^0.2.0",
"ajv": "^6.12.6",
"buffer": "^6.0.3",
"dexie": "^3.0.2",
"dexie-mongoify": "^1.3.0",
"esbuild": "^0.8.13",
"fast-json-patch": "^3.0.0-1",
"indexeddbshim": "^7.0.0",
"json-schema": "^0.2.5",
"regenerator-runtime": "^0.13.7",
"to-json-schema": "^0.2.5",
"ulid": "^2.3.0"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"mocha": {
"spec": "src/**/*.spec.ts",
"reporter": "spec",
"recursive": true,
"require": [
"ts-node/register"
],
"exit": true,
"esmLoader": true
},
"nyc": {
"extends": "@istanbuljs/nyc-config-typescript"
},
"eslintConfig": {
"env": {
"browser": true,
"es2020": true
},
"extends": [
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint",
"plugin:prettier/recommended"
],
"ignorePatterns": [
"node_modules",
"dist"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 11,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint",
"prettier"
],
"rules": {
"prettier/prettier": "error"
}
}
}