-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
102 lines (102 loc) · 2.15 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
{
"name": "@jerdog/serverless-social-bot",
"version": "2.0.0",
"description": "A serverless social media bot using Markov chains",
"type": "module",
"engines": {
"node": ">=20.5.0"
},
"repository": {
"type": "git",
"url": "https://github.com/jerdog/serverless-social-bot"
},
"license": "MIT",
"keywords": [
"serverless",
"social",
"bot",
"markov",
"mastodon",
"bluesky"
],
"author": "Jeremy Meiss",
"bugs": {
"url": "https://github.com/jerdog/serverless-social-bot/issues"
},
"files": [
"bot.js",
"worker.js",
"wrangler.toml",
"assets/",
"README.md",
"LICENSE"
],
"scripts": {
"dev": "wrangler dev worker.js",
"deploy": "wrangler deploy worker.js",
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
"test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch",
"prepublishOnly": "npm test",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"build": "echo 'No build step required'",
"release:patch": "./scripts/release.sh patch",
"release:minor": "./scripts/release.sh minor",
"release:major": "./scripts/release.sh major"
},
"jest": {
"transform": {},
"testEnvironment": "node",
"testMatch": [
"**/tests/**/*.test.js"
],
"moduleFileExtensions": [
"js",
"json",
"jsx",
"node"
],
"setupFilesAfterEnv": [
"<rootDir>/tests/setup.js"
]
},
"eslintConfig": {
"env": {
"node": true,
"es2022": true,
"jest": true
},
"extends": [
"eslint:recommended"
],
"parserOptions": {
"ecmaVersion": 2022,
"sourceType": "module"
},
"rules": {
"quotes": [
"error",
"single"
],
"no-constant-condition": [
"error",
{
"checkLoops": false
}
]
}
},
"dependencies": {
"dotenv": "^16.4.5",
"node-fetch": "^3.3.2"
},
"devDependencies": {
"@babel/core": "^7.23.5",
"@babel/preset-env": "^7.23.5",
"@jest/globals": "^29.7.0",
"babel-jest": "^29.7.0",
"eslint": "^8.55.0",
"jest": "^29.7.0",
"wrangler": "^3.91.0"
}
}