mirror of
https://github.com/marko-js/marko.git
synced 2026-02-01 16:07:13 +00:00
58 lines
1.9 KiB
JSON
58 lines
1.9 KiB
JSON
{
|
|
"private": true,
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"build": "npm run build:types && npm run build:bundle",
|
|
"build:bundle": "tsx scripts/bundle.mts",
|
|
"build:sizes": "tsx scripts/sizes.mts",
|
|
"build:types": "tsc -b tsconfig.build.json",
|
|
"change": "changeset add",
|
|
"ci:test": "c8 npm test -- --forbid-only",
|
|
"format": "eslint -f unix --fix . && prettier '**/*{.ts,.js,.json,.md,.yml,rc}' --write --loglevel error && sort-package-json './{,packages/*/}package.json' --quiet",
|
|
"prepare": "husky install",
|
|
"publish": "npm run build && changeset publish && npm ci",
|
|
"report": "open ./coverage/lcov-report/index.html",
|
|
"test": "mocha './packages/*/src/**/__tests__/*.test.ts'",
|
|
"test:inspect": "npm test -- --inspect",
|
|
"test:update": "npm test -- --update",
|
|
"version": "changeset version && npm i --package-lock-only"
|
|
},
|
|
"devDependencies": {
|
|
"@changesets/changelog-github": "^0.4.8",
|
|
"@changesets/cli": "^2.26.1",
|
|
"@marko/compiler": "^5.27.10",
|
|
"@rollup/plugin-terser": "^0.4.3",
|
|
"@rollup/plugin-virtual": "^3.0.1",
|
|
"@types/jsdom": "^21.1.1",
|
|
"@types/mocha": "^10.0.1",
|
|
"@types/node": "^20.2.5",
|
|
"@types/rollup": "^0.54.0",
|
|
"@typescript-eslint/eslint-plugin": "^5.59.8",
|
|
"@typescript-eslint/parser": "^5.59.8",
|
|
"c8": "^7.14.0",
|
|
"chalk": "^5.2.0",
|
|
"cross-env": "^7.0.3",
|
|
"esbuild": "^0.17.19",
|
|
"eslint": "^8.42.0",
|
|
"eslint-config-prettier": "^8.8.0",
|
|
"eslint-import-resolver-typescript": "^3.5.5",
|
|
"eslint-plugin-import": "^2.27.5",
|
|
"husky": "^8.0.3",
|
|
"jsdom": "^22.1.0",
|
|
"jsdom-context-require": "^4.0.8",
|
|
"lint-staged": "^13.2.2",
|
|
"mocha": "^10.2.0",
|
|
"mocha-snap": "^5.0.0",
|
|
"prettier": "^2.8.8",
|
|
"pretty-format": "^29.5.0",
|
|
"rollup": "^3.23.1",
|
|
"sort-package-json": "^2.4.1",
|
|
"table": "^6.8.1",
|
|
"tiny-glob": "^0.2.9",
|
|
"tsx": "^3.12.7",
|
|
"typescript": "^5.1.3"
|
|
}
|
|
}
|