mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
80 lines
3.0 KiB
JSON
80 lines
3.0 KiB
JSON
{
|
|
"name": "marko-project",
|
|
"private": true,
|
|
"workspaces": [
|
|
"./packages/*"
|
|
],
|
|
"scripts": {
|
|
"build": "npm run build --ws && npm run build:types",
|
|
"build:types": "npm run build:types --ws --if-present && tsc -b tsconfig.build.json",
|
|
"change": "changeset add",
|
|
"ci:report": "c8 report --reporter=text-lcov > coverage.lcov && codecov",
|
|
"ci:test": "cross-env NODE_OPTIONS=\"--max-old-space-size=4096\" MARKO_DEBUG=1 c8 npm test",
|
|
"format": "npm run lint:eslint -- --fix && npm run lint:prettier -- --write && sort-package-json './{,packages/*/}package.json' --quiet",
|
|
"lint": "npm run lint:eslint && npm run lint:prettier -- -l",
|
|
"lint:eslint": "eslint -f visualstudio .",
|
|
"lint:prettier": "prettier \"./**/*{.ts,.js,.json,.md,.yml}\"",
|
|
"prepare": "husky install",
|
|
"publish": "ENTRY=main:npm npm run set-entry && npm run build && changeset publish && ENTRY=main:dev npm run set-entry && npm ci",
|
|
"report": "open ./coverage/lcov-report/index.html",
|
|
"set-entry": "npm exec --ws -c 'dot-json package.json main $(dot-json package.json $ENTRY)'",
|
|
"test": "mocha",
|
|
"test:update": "UPDATE_EXPECTATIONS=1 mocha --update",
|
|
"version": "changeset version && npm i --package-lock-only"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.16.0",
|
|
"@babel/core": "^7.16.0",
|
|
"@babel/plugin-transform-export-namespace-from": "^7.22.5",
|
|
"@babel/plugin-transform-modules-commonjs": "^7.22.5",
|
|
"@babel/plugin-transform-runtime": "^7.16.0",
|
|
"@babel/preset-env": "^7.16.0",
|
|
"@babel/preset-typescript": "^7.22.5",
|
|
"@babel/register": "^7.16.0",
|
|
"@changesets/changelog-github": "^0.4.8",
|
|
"@changesets/cli": "^2.26.0",
|
|
"@ebay/browserslist-config": "^1.2.0",
|
|
"@rollup/plugin-terser": "^0.4.3",
|
|
"@rollup/plugin-virtual": "^3.0.1",
|
|
"@types/babel__code-frame": "^7.0.3",
|
|
"@types/babel__traverse": "^7.14.2",
|
|
"@types/jsdom": "^21.1.1",
|
|
"@types/mocha": "^10.0.1",
|
|
"@types/node": "^20.3.1",
|
|
"@typescript-eslint/eslint-plugin": "^5.59.11",
|
|
"@typescript-eslint/parser": "^5.59.11",
|
|
"babel-plugin-minprops": "^2.0.1",
|
|
"bluebird": "^3.7.2",
|
|
"c8": "^8.0.0",
|
|
"chai": "^4.3.4",
|
|
"cross-env": "^7.0.3",
|
|
"diffable-html": "^4.0.0",
|
|
"dot-json": "^1.2.2",
|
|
"esbuild": "^0.18.2",
|
|
"eslint": "^7.22.0",
|
|
"eslint-config-prettier": "^8.1.0",
|
|
"eslint-import-resolver-typescript": "^3.5.5",
|
|
"express": "^4.17.1",
|
|
"husky": "^8.0.0",
|
|
"it-fails": "^1.0.5",
|
|
"jsdom": "^19.0.0",
|
|
"jsdom-context-require": "^4.0.4",
|
|
"kleur": "^4.1.5",
|
|
"lint-staged": "^10.5.4",
|
|
"mocha": "^8.3.2",
|
|
"mocha-autotest": "^1.1.0",
|
|
"mocha-snap": "^5.0.0",
|
|
"prettier": "^2.8.8",
|
|
"pretty-format": "^29.5.0",
|
|
"rollup": "^3.25.1",
|
|
"shell-quote": "^1.7.2",
|
|
"sort-package-json": "^2.4.1",
|
|
"table": "^6.8.1",
|
|
"through": "^2.3.8",
|
|
"through2": "^4.0.2",
|
|
"tiny-glob": "^0.2.9",
|
|
"typescript": "^5.1.3",
|
|
"~ts": "file:scripts/babel-register.js"
|
|
}
|
|
}
|