-
Notifications
You must be signed in to change notification settings - Fork 909
/
package.json
40 lines (40 loc) · 1.46 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
{
"name": "phoenix_live_view",
"version": "1.0.0-rc.6",
"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": {
"@playwright/test": "^1.46.1",
"monocart-reporter": "^2.3.1"
},
"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"
}
}