Packages

Livex is a library that provides type-safe LiveView components and views with URL state management.

Current section

Files

Jump to
livex package.json
Raw

package.json

{
"name": "livex",
"version": "0.1 ",
"description": "The Phoenix LiveView JavaScript client.",
"license": "MIT",
"module": "./priv/static/livex.esm.js",
"main": "./priv/static/livex.cjs.js",
"unpkg": "./priv/static/livex.min.js",
"jsdelivr": "./priv/static/livex.min.js",
"exports": {
"import": "./priv/static/livex.esm.js",
"require": "./priv/static/livex.cjs.js"
},
"author": "Chris McCord <chris@chrismccord.com> (http://www.phoenixframework.org)",
"repository": {
"type": "git",
"url": "git://github.com/u2i/livex.git"
},
"files": ["package.json", "priv/static/*", "assets/js/livex/*"],
"dependencies": {},
"devDependencies": {
"@babel/cli": "7.27.0",
"@babel/core": "7.26.10",
"@babel/preset-env": "7.26.9",
"@eslint/js": "^9.24.0",
"@playwright/test": "^1.51.1",
"@stylistic/eslint-plugin-js": "^4.2.0",
"css.escape": "^1.5.1",
"eslint": "9.24.0",
"eslint-plugin-jest": "28.11.0",
"eslint-plugin-playwright": "^2.2.0",
"globals": "^16.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-monocart-coverage": "^1.1.1",
"monocart-reporter": "^2.9.17",
"phoenix": "1.7.21"
},
"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"
}
}