astro/package.json
Matthew Phillips 588b086a4d
Bring compiler into Astro (#4)
* include source compiler

* Import from JS

* Conditionally use the instance contents

Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2021-03-16 16:08:11 -04:00

67 lines
1.8 KiB
JSON

{
"name": "astro",
"version": "0.0.1",
"main": "index.js",
"private": true,
"author": "Skypack",
"license": "MIT",
"type": "module",
"exports": {
".": "./mastro.mjs",
"./snowpack-plugin": "./snowpack-plugin.cjs",
"./h": "./lib/h.js",
"./render/preact": "./lib/render/preact.js"
},
"bin": {
"astro": "astro.mjs"
},
"scripts": {
"build": "tsc && npm run copy-js",
"lint": "eslint 'src/**/*.{js,ts}'",
"dev": "concurrently 'tsc --watch' 'npm run copy-js:watch'",
"format": "prettier -w 'src/**/*.{js,ts}'",
"copy-js": "copyfiles -u 1 src/*.js lib/",
"copy-js:watch": "nodemon -w src --ext js --exec 'npm run copy-js'"
},
"dependencies": {
"@types/estree": "0.0.46",
"@types/node": "^14.14.31",
"@vue/server-renderer": "^3.0.7",
"acorn": "^7.4.0",
"acorn-jsx": "^5.3.1",
"astring": "^1.7.0",
"cheerio": "^0.22.0",
"css-tree": "^1.1.2",
"domhandler": "^4.0.0",
"es-module-lexer": "^0.4.1",
"gray-matter": "^4.0.2",
"htmlparser2": "^6.0.0",
"kleur": "^4.1.4",
"locate-character": "^2.0.5",
"magic-string": "^0.25.3",
"micromark": "^2.11.4",
"micromark-extension-gfm": "^0.3.3",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"snowpack": "^3.1.0-pre.13",
"svelte": "^3.35.0",
"vue": "^3.0.7",
"yargs-parser": "^20.2.7"
},
"devDependencies": {
"@types/yargs-parser": "^20.2.0",
"@typescript-eslint/eslint-plugin": "^4.18.0",
"@typescript-eslint/parser": "^4.18.0",
"concurrently": "^6.0.0",
"copyfiles": "^2.4.1",
"eslint": "^7.22.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-prettier": "^3.3.1",
"estree-walker": "^3.0.0",
"nodemon": "^2.0.7",
"preact": "^10.5.12",
"preact-render-to-string": "^5.1.14",
"prettier": "^2.2.1",
"typescript": "^4.2.3"
}
}