Commit 320bf8cf authored by nanahira's avatar nanahira

add copy directory

parent 35eb9284
...@@ -3,3 +3,4 @@ dist/* ...@@ -3,3 +3,4 @@ dist/*
build/* build/*
*.js *.js
*.d.ts *.d.ts
jsx-runtime/*
...@@ -36,3 +36,4 @@ lerna-debug.log* ...@@ -36,3 +36,4 @@ lerna-debug.log*
/data /data
/output /output
/config.yaml /config.yaml
/jsx-runtime
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
"compile:esm": "esbuild index.ts --outfile=dist/index.mjs --bundle --sourcemap --platform=neutral --target=esnext --external:@satorijs/element", "compile:esm": "esbuild index.ts --outfile=dist/index.mjs --bundle --sourcemap --platform=neutral --target=esnext --external:@satorijs/element",
"compile:types": "tsc --emitDeclarationOnly --declaration", "compile:types": "tsc --emitDeclarationOnly --declaration",
"lint": "eslint --fix .", "lint": "eslint --fix .",
"build": "rimraf dist && npm run compile:cjs && npm run compile:esm && npm run compile:types", "build": "rimraf dist jsx-runtime && npm run compile:cjs && npm run compile:esm && npm run compile:types && cp -rf dist jsx-runtime",
"test": "jest --passWithNoTests", "test": "jest --passWithNoTests",
"start": "node dist/index.js" "start": "node dist/index.js"
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment