-
Notifications
You must be signed in to change notification settings - Fork 54
/
package.json
94 lines (94 loc) · 2.34 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": "yve-bot",
"version": "1.19.1",
"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",
"test:bundle": "bundlesize",
"lint": "tslint 'src/**/*.ts'",
"clean": "rimraf lib && rimraf compiled",
"bundleAnalyzer": "BUNDLE_ANALYZER=1 rollup -c rollup.config.ts",
"prebuild": "yarn clean",
"build": "rollup -c rollup.config.ts && rimraf compiled",
"watch": "rollup -c rollup.config.ts -w"
},
"devDependencies": {
"@types/fetch-mock": "^6.0.3",
"@types/jest": "^23.1.4",
"@types/lodash-es": "^4.17.0",
"@types/node": "^10.5.2",
"bundlesize": "^0.17.0",
"coveralls": "^3.0.2",
"faker": "^4.1.0",
"fetch-mock": "^6.5.0",
"is-mobile": "^1.0.0",
"jest": "^23.3.0",
"lodash-es": "^4.17.10",
"rimraf": "^2.6.2",
"rollup": "^0.62.0",
"rollup-analyzer": "^1.1.0",
"rollup-plugin-commonjs": "^9.1.3",
"rollup-plugin-json": "^3.0.0",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-typescript2": "^0.16.1",
"rollup-plugin-uglify": "^4.0.0",
"ts-jest": "^23.0.0",
"ts-node": "^7.0.0",
"tslint": "^5.10.0",
"typescript": "^2.9.2"
},
"dependencies": {
"isomorphic-unfetch": "^2.0.0",
"promise-queue": "^2.2.5"
},
"jest": {
"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"
]
},
"bundlesize": [
{
"path": "./lib/core.js",
"maxSize": "9 kB"
},
{
"path": "./lib/ui.js",
"maxSize": "4 kB"
},
{
"path": "./lib/web.js",
"maxSize": "13 kB"
},
{
"path": "./lib/ext/types/StringSearch.js",
"maxSize": "1.5 kB"
}
]
}