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 8
/
package.json
125 lines (125 loc) · 3.82 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
{
"name": "@textile/threads",
"version": "0.0.0",
"description": "Typescript/Javascript implementation of Textile's Threads Protocol",
"main": "packages/threads",
"resolutions": {
"npm-packlist": "1.1.12"
},
"scripts": {
"clean": "lerna clean && 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": "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:node": "TS_NODE_FILES=true mocha --exit",
"test:browser": "lerna run --stream test:browser",
"test:docs": "typedoc --out temp && typescript-docs-verifier --input-files=`find temp -type f -name '**.md'`",
"textile": "lerna exec -- npx ncu -u '/^@textile/.*$/'",
"textile:check": "lerna exec -- npx ncu '/^@textile/.*$/'",
"docs": "typedoc --plugin typedoc-plugin-lerna-packages && touch ./docs/.nojekyll",
"ci": "if [ $(npm run textile:check | grep '@textile/' | wc -l) == 0 ]; then echo 'ok'; else exit 1; fi;"
},
"author": "Textile <[email protected]>",
"license": "MIT",
"repository": "github:textileio/js-threads",
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@lerna/batch-packages": "^3.16.0",
"@lerna/filter-packages": "^3.18.0",
"@lerna/project": "^3.21.0",
"@rollup/plugin-commonjs": "^17.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^11.0.1",
"@types/chai": "^4.2.7",
"@types/dirty-chai": "^2.0.2",
"@types/mocha": "^8.0.0",
"@typescript-eslint/eslint-plugin": "^3.4.0",
"@typescript-eslint/parser": "^3.4.0",
"@wessberg/rollup-plugin-ts": "^1.3.8",
"chai": "^4.2.0",
"dirty-chai": "^2.0.1",
"eslint": "^7.15.0",
"eslint-config-prettier": "^7.0.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.2.0",
"eslint-plugin-promise": "^4.2.1",
"esm": "^3.2.25",
"husky": "^4.3.5",
"lerna": "^3.19.0",
"minimist": "^1.2.5",
"mocha": "^8.2.1",
"polendina": "^1.0.0",
"prettier": "^2.2.0",
"prettier-plugin-organize-imports": "^1.1.0",
"rimraf": "^3.0.2",
"rollup": "^2.33.3",
"source-map-support": "^0.5.19",
"touch": "^3.1.0",
"ts-loader": "^8.0.0",
"ts-node": "^9.1.1",
"typedoc": "0.18.0",
"typedoc-plugin-lerna-packages": "^0.3.0",
"typedoc-plugin-markdown": "^2.3.1",
"typescript": "^4.1.2",
"typescript-docs-verifier": "^1.1.2",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.12",
"ws": "^7.4.1"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"eslintConfig": {
"env": {
"es2020": true
},
"extends": [
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint",
"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": {
"diff": true,
"spec": "packages/*/src/**/*.spec.ts",
"reporter": "spec",
"recursive": true,
"require": [
"ts-node/register",
"source-map-support/register"
]
},
"prettier": {
"semi": false
}
}