astro/package.json

64 lines
2 KiB
JSON
Raw Normal View History

2021-03-15 17:22:05 +00:00
{
"name": "root",
"version": "0.0.0",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/snowpackjs/astro.git"
},
2021-03-15 17:22:05 +00:00
"scripts": {
"release": "yarn build:all && changeset publish",
"benchmark": "yarn workspace astro run benchmark",
"build": "yarn build:core",
"build:one": "lerna run build --scope",
2021-07-22 00:39:14 +00:00
"build:all": "lerna run build --scope \"{astro,@astrojs/*}\"",
2021-09-17 21:22:51 +00:00
"build:core": "lerna run build --scope \"{astro,@astrojs/parser,@astrojs/markdown-remark}\"",
2021-07-22 00:39:14 +00:00
"dev": "yarn dev:core --parallel --stream",
"dev:one": "lerna run dev --scope --parallel --stream",
"dev:all": "lerna run dev --scope \"{astro,@astrojs/*}\" --parallel --stream",
2021-09-17 21:22:51 +00:00
"dev:core": "lerna run dev --scope \"{astro,@astrojs/parser,@astrojs/markdown-remark}\" --parallel --stream",
"format": "prettier -w .",
"lint": "eslint \"packages/**/*.ts\"",
"test": "yarn workspace astro run test",
2021-06-11 21:07:30 +00:00
"test:templates": "lerna run test --scope create-astro --stream"
2021-03-15 17:22:05 +00:00
},
"workspaces": [
2021-08-06 21:56:22 +00:00
"compiled/*",
2021-09-17 21:22:51 +00:00
"packages/markdown/*",
Renderer plugins (#231) * refactor: pluggable renderers * refactor: cache renderer per component * docs: update comments on snowpack plugin `transform` method * docs: add comments to renderer plugins * refactor: convert components to Map * fix: pass children through to astro __render * refactor: move Components/ComponentInfo to shared types * refactor: remove `gatherRuntimes` step, just scan output for imports * refactor: update isComponentTag logic * chore: move dependencies to renderers * fix: cross-platform transform injection * feat: defer renderer to react, fallback to preact * fix: use double quotes in generated script * test: fix failing children tests * test: add workspaceRoot to all tests * fix: pass props to renderer check * chore: add test:core script back for convenience * chore: remove unused external * chore: rename renderers * chore: add astring, estree-util-value-to-estree * chore: render-component => __astro_component * refactor: split hydrate logic to own file * refactor: use `astro-fragment` rather than `div` * chore: remove unused hooks * chore: delete unused file * chore: add changesets * fix: Astro renderer should be async * fix: remove <astro-fragment> for static content * test: fix failing test * chore: normalize config interface * feat: allow renderers to inject a snowpackPlugin * fix: resolve import URL before using dynamic import * refactor: update renderers to use separate /server entrypoint * refactor: update server renderer interface * fix: get renderers working again * test: debug failing test * test: better debug * test: better debug * test: remove debug * fix: support esm and cjs packages via "resolve" * refactor: split hydrate functions into individual files * fix: dependency resolution relative to projectRoot * fix: @snowpack/plugin-postcss needs to be hoisted * fix: do not test prettier-plugin-astro as it's not ready for primetime
2021-05-26 18:30:22 +00:00
"packages/renderers/*",
"packages/*",
"examples/*",
"scripts",
"www",
2021-07-15 18:19:23 +00:00
"docs",
"packages/astro/test/fixtures/builtins/packages/*",
"packages/astro/test/fixtures/builtins-polyfillnode",
"packages/astro/test/fixtures/custom-elements/my-component-lib"
],
"volta": {
"node": "14.16.1",
"npm": "7.11.2",
"yarn": "1.22.10"
2021-03-15 17:22:05 +00:00
},
2021-09-20 19:29:16 +00:00
"dependencies": {},
2021-03-15 17:22:05 +00:00
"devDependencies": {
2021-07-22 22:29:32 +00:00
"@changesets/cli": "^2.16.0",
2021-09-17 21:22:51 +00:00
"@octokit/action": "^3.15.4",
2021-10-16 00:28:04 +00:00
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
2021-04-23 16:44:41 +00:00
"del": "^6.0.0",
2021-10-16 00:28:04 +00:00
"esbuild": "^0.13.7",
"eslint": "^8.0.1",
"eslint-config-prettier": "^8.3.0",
2021-09-21 22:41:18 +00:00
"eslint-plugin-prettier": "^4.0.0",
"execa": "^5.0.0",
"lerna": "^4.0.0",
2021-09-21 22:41:18 +00:00
"prettier": "^2.4.1",
"tiny-glob": "^0.2.8",
2021-09-21 22:41:18 +00:00
"typescript": "^4.4.3"
},
"engines": {
2021-07-20 01:23:39 +00:00
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
2021-04-14 00:08:32 +00:00
}
2021-06-11 20:34:45 +00:00
}