-
Notifications
You must be signed in to change notification settings - Fork 34
/
package.json
103 lines (103 loc) · 3.35 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
{
"name": "@mojojs/core",
"version": "1.26.8",
"description": "Real-time web framework",
"keywords": [
"mojojs",
"real-time",
"web",
"framework",
"mvc",
"websockets",
"websocket"
],
"author": "Sebastian Riedel <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/mojolicious/mojo.js.git"
},
"bugs": {
"url": "https://github.com/mojolicious/mojo.js/issues"
},
"homepage": "https://mojojs.org",
"scripts": {
"bench": "npx concurrently -k -s first \"NODE_ENV=production node benchmarks/hello/hello-mojo.js server\" \"npx autocannon -W -c 100 -d 10 -p 15 localhost:3000\"",
"build": "npx tsc --build ./ ./test/support/ts/full-app",
"build:bench": "npm run build && npm run bench",
"build:clean": "npm run clean && npm run build",
"build:coverage": "npm run build && npm run coverage",
"build:lint": "npm run build && npm run lint",
"build:node": "npm run build && node",
"build:test": "npm run build && npm test",
"build:watch": "npm run build -- --watch",
"clean": "rm -rf tsconfig.tsbuildinfo test/support/ts/full-app/tsconfig.tsbuildinfo lib test/support/ts/full-app/lib",
"coverage": "c8 tap --disable-coverage --allow-empty-coverage test/*.js test/*.ts",
"coverage:ci": "c8 --reporter lcovonly tap --disable-coverage --allow-empty-coverage test/*.js test/*.ts",
"prelint": "prettier --check \"{src,test}/**/*.{js,ts}\" eslint.config.js",
"prelint:fix": "prettier --write \"{src,test}/**/*.{js,ts}\" eslint.config.js",
"lint": "eslint \"test/*.js\" \"test/support/js/**/*.js\" \"test/support/ts/**/src/**/*.ts\" \"src/**/*.ts\" \"src/*.ts\"",
"lint:fix": "npm run lint -- --fix",
"prepublishOnly": "npm run build",
"publish:minor": "npm version minor && npm publish",
"publish:patch": "npm version patch && npm publish",
"test": "tap --disable-coverage --allow-empty-coverage test/*.js test/*.ts"
},
"exports": "./lib/core.js",
"types": "./lib/core.d.ts",
"type": "module",
"files": [
"bin/",
"lib/",
"vendor/"
],
"bin": {
"mojo": "./bin/mojo.js"
},
"devDependencies": {
"@eslint/js": "^9.9.1",
"@types/busboy": "^1.5.0",
"@types/js-yaml": "^4.0.3",
"@types/mime-types": "^2.1.0",
"@types/node": "^22.5.0",
"@types/nopt": "^3.0.29",
"@types/react": "^18.2.37",
"@types/stack-utils": "^2.0.1",
"@types/tough-cookie": "^4.0.2",
"@types/ws": "^8.5.3",
"@typescript-eslint/eslint-plugin": "^8.3.0",
"@typescript-eslint/parser": "^8.3.0",
"autocannon": "^7.3.0",
"c8": "^10.1.0",
"concurrently": "^9.0.0",
"eslint": "^9.9.1",
"eslint-plugin-import-x": "^4.1.1",
"eslint-plugin-node": "^11.1.0",
"globals": "^15.9.0",
"nodemon": "^3.0.0",
"prettier": "^3.3.3",
"tap": "^21.0.0",
"typescript": "^5.5.4",
"typescript-eslint": "^8.3.0"
},
"engines": {
"node": ">= 16"
},
"dependencies": {
"@eslint/compat": "^1.1.1",
"@mojojs/dom": "^2.1.0",
"@mojojs/path": "^1.6.0",
"@mojojs/template": "^2.2.0",
"@mojojs/util": "^1.6.0",
"ajv": "^8.5.0",
"busboy": "^1.0.0",
"chalk": "^5.0.0",
"form-data": "^4.0.0",
"js-yaml": "^4.1.0",
"mime-types": "^2.1.30",
"nopt": "^8.0.0",
"stack-utils": "^2.0.3",
"tough-cookie": "^4.0.0",
"ws": "^8.3.0"
}
}