-
Notifications
You must be signed in to change notification settings - Fork 949
/
Copy pathpackage.json
60 lines (60 loc) · 2.02 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
{
"name": "phoenix_live_view",
"version": "1.0.2",
"description": "The Phoenix LiveView JavaScript client.",
"license": "MIT",
"module": "./priv/static/phoenix_live_view.esm.js",
"main": "./priv/static/phoenix_live_view.cjs.js",
"unpkg": "./priv/static/phoenix_live_view.min.js",
"jsdelivr": "./priv/static/phoenix_live_view.min.js",
"exports": {
"import": "./priv/static/phoenix_live_view.esm.js",
"require": "./priv/static/phoenix_live_view.cjs.js"
},
"author": "Chris McCord <chris@chrismccord.com> (http://www.phoenixframework.org)",
"repository": {
"type": "git",
"url": "git://github.com/phoenixframework/phoenix_live_view.git"
},
"files": [
"README.md",
"LICENSE.md",
"package.json",
"priv/static/*",
"assets/js/phoenix_live_view/*"
],
"dependencies": {
"morphdom": "2.7.4"
},
"devDependencies": {
"@babel/cli": "7.26.4",
"@babel/core": "7.26.0",
"@babel/preset-env": "7.26.0",
"@eslint/js": "^9.18.0",
"@playwright/test": "^1.49.1",
"@stylistic/eslint-plugin-js": "^2.12.1",
"css.escape": "^1.5.1",
"eslint": "9.18.0",
"eslint-plugin-jest": "28.10.0",
"eslint-plugin-playwright": "^2.1.0",
"globals": "^15.14.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-monocart-coverage": "^1.1.1",
"monocart-reporter": "^2.9.13",
"phoenix": "1.7.18"
},
"scripts": {
"setup": "mix deps.get && npm install",
"e2e:server": "MIX_ENV=e2e mix test --cover --export-coverage e2e test/e2e/test_helper.exs",
"e2e:test": "mix assets.build && cd test/e2e && npx playwright install && npx playwright test",
"js:test": "jest",
"js:test.coverage": "jest --coverage",
"js:test.watch": "jest --watch",
"js:lint": "eslint --fix && cd assets && eslint --fix",
"test": "npm run js:test && npm run e2e:test",
"cover:merge": "node test/e2e/merge-coverage.mjs",
"cover": "npm run test && npm run cover:merge",
"cover:report": "npx monocart show-report cover/merged-js/index.html"
}
}