mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
77 lines
2.8 KiB
JSON
77 lines
2.8 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: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}\" --with-node-modules",
|
|
"prepare": "husky install",
|
|
"release": "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.23.4",
|
|
"@babel/core": "^7.23.7",
|
|
"@babel/plugin-transform-modules-commonjs": "^7.23.3",
|
|
"@babel/plugin-transform-runtime": "^7.23.7",
|
|
"@babel/preset-env": "^7.23.8",
|
|
"@babel/preset-typescript": "^7.23.3",
|
|
"@babel/register": "^7.23.7",
|
|
"@changesets/changelog-github": "^0.5.0",
|
|
"@changesets/cli": "^2.27.1",
|
|
"@ebay/browserslist-config": "^2.7.0",
|
|
"@rollup/plugin-terser": "^0.4.4",
|
|
"@rollup/plugin-virtual": "^3.0.2",
|
|
"@types/babel__code-frame": "^7.0.6",
|
|
"@types/babel__traverse": "^7.20.5",
|
|
"@types/jsdom": "^21.1.6",
|
|
"@types/mocha": "^10.0.6",
|
|
"@types/node": "^20.10.8",
|
|
"@typescript-eslint/eslint-plugin": "^6.18.1",
|
|
"@typescript-eslint/parser": "^6.18.1",
|
|
"babel-plugin-minprops": "^2.0.1",
|
|
"bluebird": "^3.7.2",
|
|
"c8": "^9.0.0",
|
|
"chai": "^4.4.0",
|
|
"cross-env": "^7.0.3",
|
|
"diffable-html": "^4.0.0",
|
|
"dot-json": "^1.3.0",
|
|
"esbuild": "^0.19.11",
|
|
"eslint": "^8.56.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-import-resolver-typescript": "^3.6.1",
|
|
"express": "^4.18.2",
|
|
"husky": "^8.0.3",
|
|
"it-fails": "^1.0.7",
|
|
"jsdom": "^23.2.0",
|
|
"jsdom-context-require": "^4.0.9",
|
|
"kleur": "^4.1.5",
|
|
"lint-staged": "^15.2.0",
|
|
"mocha": "^10.2.0",
|
|
"mocha-autotest": "^1.1.2",
|
|
"mocha-snap": "^5.0.0",
|
|
"prettier": "^3.1.1",
|
|
"pretty-format": "^29.7.0",
|
|
"rollup": "^4.9.4",
|
|
"sort-package-json": "^2.6.0",
|
|
"table": "^6.8.1",
|
|
"through": "^2.3.8",
|
|
"through2": "^4.0.2",
|
|
"tiny-glob": "^0.2.9",
|
|
"typescript": "^5.3.3",
|
|
"~ts": "file:scripts/babel-register.js"
|
|
}
|
|
}
|