-
Notifications
You must be signed in to change notification settings - Fork 19
/
package.json
147 lines (147 loc) · 4.58 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
{
"name": "@textile/hub",
"version": "0.0.0",
"description": "Typescript/Javascript libs for interacting with Textile APIs.",
"main": "packages/hub",
"scripts": {
"clean": "npx rimraf dist && lerna clean --yes && lerna run clean",
"bootstrap": "lerna bootstrap",
"publish": "npm run build && lerna publish",
"build": "npm run build:cjs && npm run build:esm",
"build:cjs": "lerna run build --stream",
"build:esm": "rollup -c",
"references:update": "npx lerna-to-typescript-project-references --update",
"references:check": "npx lerna-to-typescript-project-references",
"lint": "eslint --fix --ext .js,.ts packages/*/src/**/*",
"lint:check": "eslint --ext .js,.ts packages/*/src/**/*",
"test": "npm run test:node && npm run test:browser && npm run test:docs",
"test:threads:node": "npm run test:node -- -g \"^Thread\"",
"test:threads:browser": "lerna run --stream test:threads:browser",
"test:hub:node": "npm run test:node -- -g \"^Thread\" --invert",
"test:hub:browser": "lerna run --stream test:browser",
"test:docs": "typescript-docs-verifier --input-files=`find docs -type f -name '**.md'`",
"test:node": "TS_NODE_FILES=true mocha --exit",
"textile:update": "lerna exec -- npx ncu -u '/^@textile/.*$/'",
"textile:check": "lerna exec -- npx ncu '/^@textile/.*$/'",
"textile:update:next": "lerna exec -- npx ncu -t newest -u '/^@textile/.*$/'",
"textile:check:next": "lerna exec -- npx ncu -t newest '/^@textile/.*$/'",
"docs": "rm -rf docs markdown temp && node scripts/make-docs.js && mkdir -p docs && cp -r markdown/* docs/ && ./scripts/convert-signatures && npm run test:docs",
"serve:docs": "npm run docs && cd website && npm run start",
"build:docs": "npm run docs && cd website && npm install && npm run build"
},
"resolutions": {
"npm-packlist": "1.1.12"
},
"engines": {
"node": ">= 11.0.0",
"npm": ">= 3.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/textileio/js-textile.git"
},
"bugs": {
"url": "https://github.com/textileio/js-textile/issues"
},
"keywords": [
"textile",
"hub",
"IPFS",
"p2p"
],
"author": "Textile <contact@textile.io>",
"license": "MIT",
"devDependencies": {
"@babel/polyfill": "^7.12.1",
"@lerna/batch-packages": "^3.16.0",
"@lerna/filter-packages": "^3.18.0",
"@lerna/project": "^4.0.0",
"@microsoft/api-documenter": "^7.8.42",
"@microsoft/api-extractor": "^7.18.4",
"@rollup/plugin-commonjs": "^17.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^11.0.1",
"@types/browser-or-node": "^1.2.0",
"@types/chai": "^4.2.21",
"@types/mocha": "^9.0.0",
"@types/ws": "^7.4.7",
"@typescript-eslint/eslint-plugin": "^4.29.3",
"@typescript-eslint/parser": "^4.29.3",
"@wessberg/rollup-plugin-ts": "^1.3.14",
"browser-or-node": "^1.3.0",
"chai": "^4.2.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-strict": "^14.0.1",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-prettier": "^3.1.1",
"lerna": "^3.19.0",
"minimist": "^1.2.5",
"mocha": "^8.2.1",
"npm-check-updates": "^11.1.1",
"polendina": "^1.0.0",
"prettier": "^2.1.1",
"prettier-eslint": "^13.0.0",
"prettier-plugin-organize-imports": "^2.3.3",
"rollup": "^2.35.1",
"rollup-plugin-terser": "^7.0.2",
"source-map-support": "^0.5.19",
"ts-loader": "^8.0.12",
"ts-node": "^10.1.0",
"tsconfig-paths": "^3.10.1",
"typedoc": "^0.21.6",
"typescript": "^4.2.3",
"typescript-docs-verifier": "^1.1.2"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"eslintConfig": {
"env": {
"es2020": true
},
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 11,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint",
"prettier"
],
"ignorePatterns": [
"**/*.[j|t]s.map"
],
"rules": {
"@typescript-eslint/no-explicit-any": 0
}
},
"mocha": {
"spec": "packages/*/src/**/*.spec.ts",
"reporter": "spec",
"recursive": true,
"require": [
"ts-node/register",
"source-map-support/register"
],
"exit": true,
"esmLoader": true
},
"prettier": {
"semi": false,
"trailingComma": "all",
"singleQuote": true,
"tabWidth": 2
}
}