-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
71 lines (71 loc) · 2.16 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
{
"private": true,
"name": "caninclude",
"version": "0.0.0",
"license": "MIT",
"scripts": {
"start": "pm2 start ecosystem.config.js --env production --no-daemon",
"build": "preact build",
"serve": "sirv build --port 8080 --cors --single",
"dev": "concurrently --kill-others \"preact watch\" \"npm run api:dev\"",
"lint": "eslint src",
"test": "jest",
"api:dev": "PORT=8081 nodemon --watch server server/index.js",
"pm2:gen:config": "pm2 ecosystem",
"pm2:stop": "pm2 stop ecosystem.config.js",
"pm2:restart": "pm2 restart ecosystem.config.js --env production",
"pm2:reload": "pm2 reload ecosystem.config.js --env production",
"pm2:mon": "pm2 monit",
"pm2:kill": "pm2 kill",
"pm2:logs": "pm2 logs webapp --lines 100",
"pm2:log:rotate": "pm2 install pm2-logrotate",
"pm2:flush": "pm2 flush",
"glitch:pack": "npm run build && node ./utils/archive.js",
"glitch:unpack": "rm -rf build/* && unzip -o glitch_release_*.zip -d . && rm glitch_release_*.zip && refresh",
"glitch:apply": "refresh",
"glitch:wget": "node ./utils/wget"
},
"author": "Aleksandr Vishniakov aka CyberLight",
"engines": {
"node": "16.x"
},
"eslintConfig": {
"extends": "preact",
"ignorePatterns": [
"build/"
],
"root": true
},
"devDependencies": {
"archiver": "^5.3.0",
"enzyme": "^3.10.0",
"enzyme-adapter-preact-pure": "^2.0.0",
"eslint": "^8.2.0",
"eslint-config-preact": "^1.2.0",
"eslint-plugin-compat": "^4.0.0",
"jest": "^27.3.1",
"jest-preset-preact": "^1.0.0",
"pino-http": "^6.5.0",
"preact-cli": "^0.1.0",
"sirv-cli": "1.0.3"
},
"dependencies": {
"@polka/send-type": "^0.5.2",
"caninclude-analyzer": "github:CyberLight/caninclude-analyzer#v1.0.8",
"lodash": "^4.17.21",
"pm2": "^5.1.2",
"polka": "^0.5.2",
"preact": "^10.6.4",
"preact-render-to-string": "^5.1.19",
"preact-router": "^4.0.1",
"sirv": "^2.0.2",
"tailwindcss": "^3.0.15"
},
"jest": {
"preset": "jest-preset-preact",
"setupFiles": [
"<rootDir>/tests/__mocks__/browserMocks.js",
"<rootDir>/tests/__mocks__/setupTests.js"
]
}
}