forked from andersonba/yve-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
98 lines (98 loc) · 2.37 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
{
"name": "yve-bot",
"version": "1.20.2",
"description": "Smart rule-based bot",
"main": "core.js",
"module": "core.js",
"browser": "ui.js",
"repository": "https://github.com/andersonba/yve-bot",
"author": "Anderson de Oliveira <andersonba@me.com>",
"license": "MIT",
"scripts": {
"test": "yarn lint && yarn test:coverage",
"test:strict": "jest",
"test:coverage": "yarn test:strict --coverage",
"test:watch": "yarn test:strict --watch",
"lint": "tslint 'src/**/*.ts'",
"clean": "rimraf lib && rimraf compiled",
"bundle": "bundlewatch",
"prebuild": "yarn clean",
"build": "rollup -c rollup.config.ts && rimraf compiled",
"watch": "rollup -c rollup.config.ts -w"
},
"devDependencies": {
"@types/fetch-mock": "^7.3.3",
"@types/jest": "^26.0.20",
"@types/lodash-es": "^4.17.4",
"@types/node": "^14.14.22",
"bundlewatch": "^0.3.2",
"coveralls": "^3.1.0",
"faker": "^5.2.0",
"fetch-mock": "^9.11.0",
"is-mobile": "^2.2.2",
"jest": "^26.6.3",
"lodash-es": "^4.17.20",
"rimraf": "^3.0.2",
"rollup": "^2.38.3",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-typescript2": "^0.29.0",
"rollup-plugin-uglify": "^6.0.4",
"ts-jest": "^26.5.0",
"ts-node": "^9.1.1",
"tslint": "^5.19.0",
"tslint-config-prettier": "^1.18.0",
"typescript": "^4.1.3"
},
"dependencies": {
"isomorphic-unfetch": "^3.1.0",
"promise-queue": "^2.2.5"
},
"jest": {
"roots": [
"<rootDir>/src"
],
"moduleFileExtensions": [
"ts",
"js"
],
"transform": {
"\\.(t|j)s$": "ts-jest"
},
"transformIgnorePatterns": [
"<rootDir>/node_modules/(?!lodash-es/.*)"
],
"testMatch": [
"**/__tests__/**/*.(ts|js)"
],
"moduleNameMapper": {
"^~test/(.*)": "<rootDir>/test/$1"
},
"collectCoverageFrom": [
"src/**/*.ts",
"src/**/**/*.ts",
"!src/types.ts"
]
},
"bundlewatch": {
"files": [
{
"path": "./lib/core.js",
"maxSize": "10 kB"
},
{
"path": "./lib/ui.js",
"maxSize": "4 kB"
},
{
"path": "./lib/web.js",
"maxSize": "12 kB"
},
{
"path": "./lib/ext/types/StringSearch.js",
"maxSize": "1.5 kB"
}
]
}
}