forked from floodfx/liveviewjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
85 lines (85 loc) · 2.6 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
{
"name": "liveviewjs",
"version": "0.0.3",
"description": "LiveViewJS brings the power of Phoenix LiveView to Typescript and Javascript developers and applications.",
"targets": {
"client": {
"source": "src/client/liveview.ts",
"context": "browser",
"distDir": "dist/client"
}
},
"main": "dist/server/index.js",
"types": "dist/server/index.d.ts",
"files": [
"dist/server/**/*.js",
"dist/server/**/*.d.ts",
"dist/server/**/*.ejs",
"dist/client/**/*.js",
"dist/client/**/*.js.map"
],
"scripts": {
"examples": "npm run prepublish; npm run copy-examples-views; nodemon -e js -w dist dist/examples/index.js",
"copy-examples-views": "mkdir -p dist/examples/views; cp src/examples/views/* dist/examples/views",
"build": "tsc",
"watch": "tsc --watch",
"copy-root-view": "mkdir -p dist/server/web/views;cp src/server/web/views/root.html.ejs dist/server/web/views/root.html.ejs",
"client-build": "npm run check; parcel build; npm run copy-client-ts",
"client-watch": "parcel watch",
"copy-client-ts": "cp src/client/liveview.ts dist/client/liveview.ts",
"check": "tsc --noEmit",
"clean": "rm -rf dist",
"test": "jest --expand",
"prepublish": "npm run clean; npm run test; npm run build; npm run copy-root-view; npm run client-build"
},
"keywords": [
"liveviewjs",
"liveview",
"phoenix",
"typescript",
"javascript",
"framework"
],
"author": "Donnie Flood <[email protected]>",
"license": "MIT",
"dependencies": {
"body-parser": "^1.19.1",
"deep-object-diff": "^1.1.7",
"ejs": "^3.1.6",
"express": "^4.17.2",
"express-session": "^1.17.2",
"http-errors": "^2.0.0",
"jsonwebtoken": "^8.5.1",
"nanoid": "^3.2.0",
"nprogress": "^0.2.0",
"phoenix": "^1.6.6",
"phoenix_html": "^3.2.0",
"phoenix_live_view": "^0.17.6",
"ws": "^8.4.2",
"zod": "^3.11.6"
},
"devDependencies": {
"@types/body-parser": "^1.19.2",
"@types/express": "^4.17.13",
"@types/express-session": "^1.17.4",
"@types/http-errors": "^1.8.1",
"@types/jest": "^27.4.0",
"@types/jsonwebtoken": "^8.5.8",
"@types/node": "^17.0.10",
"@types/nprogress": "^0.2.0",
"@types/phoenix": "^1.5.4",
"@types/phoenix_live_view": "^0.15.1",
"@types/supertest": "^2.0.11",
"@types/ws": "^8.2.2",
"eslint": "^8.5.0",
"jest": "^27.4.7",
"jest-mock-extended": "^2.0.4",
"nodemon": "^2.0.15",
"parcel": "^2.2.1",
"supertest": "^6.2.2",
"superwstest": "^2.0.0",
"ts-jest": "^27.1.3",
"ts-node": "^10.4.0",
"typescript": "^4.5.4"
}
}