mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
b8c6dabfb7
* enabling eslint on the all packages and tests * enabling for all packages * TEMP: adding an only() test to verify it fails CI * using our eslint config and ignore in CI * removing the temporary .only() test * update lock file * lint: fixing new test with a no-shadow warning * chore: update lock file
83 lines
2.9 KiB
JSON
83 lines
2.9 KiB
JSON
{
|
|
"name": "root",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/withastro/astro.git"
|
|
},
|
|
"scripts": {
|
|
"postinstall": "patch-package",
|
|
"release": "pnpm run build && changeset publish",
|
|
"build": "turbo run build --no-deps --scope=astro --scope=create-astro --scope=\"@astrojs/*\"",
|
|
"build:ci": "turbo run build:ci --no-deps --scope=astro --scope=create-astro --scope=\"@astrojs/*\"",
|
|
"build:examples": "turbo run build --scope=\"@example/*\"",
|
|
"dev": "turbo run dev --no-deps --no-cache --parallel --scope=astro --scope=create-astro --scope=\"@astrojs/*\"",
|
|
"format": "pnpm run format:code",
|
|
"format:ci": "pnpm run format:imports && pnpm run format:code",
|
|
"format:code": "prettier -w .",
|
|
"format:imports": "organize-imports-cli ./packages/*/tsconfig.json ./packages/*/*/tsconfig.json",
|
|
"test": "turbo run test --concurrency=1",
|
|
"test:match": "cd packages/astro && pnpm run test:match",
|
|
"test:templates": "turbo run test --filter=create-astro --concurrency=1",
|
|
"test:smoke": "node scripts/smoke/index.js",
|
|
"test:vite-ci": "turbo run test --no-deps --scope=astro --concurrency=1",
|
|
"test:e2e": "cd packages/astro && pnpm playwright install && pnpm run test:e2e",
|
|
"test:e2e:match": "cd packages/astro && pnpm playwright install && pnpm run test:e2e:match",
|
|
"benchmark": "turbo run benchmark --scope=astro",
|
|
"lint": "eslint .",
|
|
"version": "changeset version && pnpm install --no-frozen-lockfile && pnpm run format"
|
|
},
|
|
"workspaces": [
|
|
"compiled/*",
|
|
"packages/markdown/*",
|
|
"packages/integrations/*",
|
|
"packages/*",
|
|
"examples/*",
|
|
"examples/component/demo",
|
|
"examples/component/packages/*",
|
|
"scripts",
|
|
"smoke/*",
|
|
"packages/astro/test/fixtures/component-library-shared",
|
|
"packages/astro/test/fixtures/custom-elements/my-component-lib",
|
|
"packages/astro/test/fixtures/static build/pkg"
|
|
],
|
|
"engines": {
|
|
"node": "^14.15.0 || >=16.0.0",
|
|
"pnpm": ">=7.0.0"
|
|
},
|
|
"packageManager": "pnpm@7.0.0",
|
|
"pnpm": {
|
|
"peerDependencyRules": {
|
|
"ignoreMissing": [
|
|
"@babel/core",
|
|
"@babel/plugin-transform-react-jsx",
|
|
"vite"
|
|
]
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@astrojs/webapi": "workspace:*"
|
|
},
|
|
"devDependencies": {
|
|
"@changesets/changelog-github": "0.4.4",
|
|
"@changesets/cli": "2.22.0",
|
|
"@octokit/action": "^3.18.1",
|
|
"@typescript-eslint/eslint-plugin": "^5.27.0",
|
|
"@typescript-eslint/parser": "^5.27.0",
|
|
"del": "^6.1.1",
|
|
"esbuild": "^0.14.42",
|
|
"eslint": "^8.16.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-plugin-no-only-tests": "^2.6.0",
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
"execa": "^6.1.0",
|
|
"organize-imports-cli": "^0.10.0",
|
|
"patch-package": "^6.4.7",
|
|
"prettier": "^2.6.2",
|
|
"pretty-bytes": "^6.0.0",
|
|
"tiny-glob": "^0.2.9",
|
|
"turbo": "1.2.5",
|
|
"typescript": "~4.7.2"
|
|
}
|
|
}
|