-
Notifications
You must be signed in to change notification settings - Fork 944
/
package.json
42 lines (42 loc) · 1.52 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
{
"name": "phoenix_live_view",
"version": "1.0.1",
"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 <[email protected]> (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/*"
],
"devDependencies": {
"@eslint/js": "^9.10.0",
"@playwright/test": "^1.47.1",
"eslint-plugin-playwright": "^2.1.0",
"monocart-reporter": "^2.8.0"
},
"scripts": {
"setup": "mix deps.get && npm install && cd assets && 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": "cd assets && npm install && npm run test",
"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"
}
}