Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: add run all in scripts in jhlite generator #10946

Merged
merged 1 commit into from
Sep 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 14 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,16 @@
"license": "Apache-2.0",
"type": "module",
"scripts": {
"build": "vue-tsc -p tsconfig.build.json --noEmit && vite build --emptyOutDir && tikui-core build",
"dev": "run-p tikui:serve webapp:serve",
"build": "npm-run-all build:*",
"build:tikui": "tikui-core build",
"build:tsc": "vue-tsc -p tsconfig.build.json --noEmit",
"build:vite": "vite build --emptyOutDir",
"dev": "npm-run-all --parallel dev:*",
"dev:tikui": "tikui-core serve",
"dev:vite": "vite",
"e2e": "cypress open --config-file src/test/webapp/e2e/cypress-config.ts",
"e2e:headless": "cypress run --headless --config-file src/test/webapp/e2e/cypress-config.ts",
"format": "prettier . --write",
"format": "npm run prettier:format",
"glyph:build": "rimraf .fontello-session && fontello-cli install --config src/main/glyph/config.json --font src/main/glyph/font --css src/main/glyph/css",
"glyph:open": "rimraf .fontello-session && fontello-cli open --config src/main/glyph/config.json",
"lint": "eslint . --fix --plugin eslint-plugin-pug src/main/style/**/*.pug && npm run lint:sass && npm run prettier:format",
Expand All @@ -32,13 +37,14 @@
"preview": "vite preview",
"start": "npm run dev",
"test": "npm run test:watch",
"test:component": "start-server-and-test tikui:serve-build http://localhost:9005 webapp:serve http://localhost:9000 'cypress open --e2e --config-file src/test/webapp/component/cypress-config.ts'",
"test:component:headless": "start-server-and-test tikui:serve-build http://localhost:9005 webapp:serve http://localhost:9000 'cypress run --headless --config-file src/test/webapp/component/cypress-config.ts'",
"test:component": "start-server-and-test tikui:serve-build http://localhost:9005 dev:vite http://localhost:9000 'cypress open --e2e --config-file src/test/webapp/component/cypress-config.ts'",
"test:component:headless": "start-server-and-test tikui:serve-build http://localhost:9005 dev:vite http://localhost:9000 'cypress run --headless --config-file src/test/webapp/component/cypress-config.ts'",
"test:coverage": "vitest run --coverage",
"test:watch": "vitest --",
"tikui:serve": "tikui-core serve",
"tikui:serve-build": "tikui-core build && serve -p 9005 target/classes/public/style ",
"webapp:serve": "vite"
"tikui:serve-build": "tikui-core build && serve -p 9005 target/classes/public/style",
"watch:": "npm-run-all --parallel watch:*",
"watch:test": "npm run test:watch",
"watch:tsc": "npm run build:tsc -- --watch"
},
"dependencies": {
"axios": "1.7.7",
Expand Down