Skip to content

Commit

Permalink
now can build component and run from 'example' app folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Srdjan committed Mar 15, 2023
1 parent e09fb83 commit 17e06e2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
"license": "MIT",
"scripts": {
"debug": "esbuild app.js --bundle --format=cjs --outfile=./bundle.js --loader:.js=jsx --sourcemap --preserve-symlinks",
"build:comp": "cd .. && tsc && cd ./example",
"inst:comp": "mkdir -p node_modules/react-multistep && cp -f ../build/** node_modules/react-multistep/",
"build": "npm run inst:comp && esbuild app.js --bundle --format=cjs --outfile=./bundle.js --loader:.js=jsx",
"build:app": "esbuild app.js --bundle --format=cjs --outfile=./bundle.js --loader:.js=jsx",
"build": "npm run build:comp && npm run inst:comp && npm run build:app",
"start": "npx serve"
},
"alias": {
Expand Down

0 comments on commit 17e06e2

Please sign in to comment.