0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-11 15:21:18 -05:00

📎 Add some minor changes to package.json scripts section.

This commit is contained in:
Andrey Antukh 2021-12-10 09:45:17 +01:00 committed by Andrés Moya
parent e44ea47497
commit a0d527f795
2 changed files with 17 additions and 25 deletions

View file

@ -12,17 +12,15 @@
"defaults"
],
"scripts": {
"validate-translations": "node ./scripts/validate-translations.js",
"watch-main": "shadow-cljs watch main",
"compile-test": "clojure -M:dev:shadow-cljs compile test --config-merge '{:autorun false}'",
"run-test": "node target/test.js",
"test": "yarn run compile-test && yarn run run-test",
"watch-gulp": "gulp watch",
"test-watch-compile": "shadow-cljs watch test",
"test-run": "node target/tests.js",
"test-watch-run": "nodemon --signal SIGKILL --watch target --exec npm run test-run",
"test-watch": "npm-run-all --parallel test-watch-compile test-watch-run",
"test": "npm run test-watch",
"watch-main": "shadow-cljs watch main",
"watch-test": "clojure -M:dev:shadow-cljs watch test",
"validate-translations": "node ./scripts/validate-translations.js",
"test-e2e": "cypress run",
"test-e2e-gui": "cypress open",
"start": "npm-run-all --parallel watch-gulp watch-main"
"test-e2e-gui": "cypress open"
},
"devDependencies": {
"autoprefixer": "^10.4.0",

View file

@ -62,23 +62,17 @@
:test
{:target :node-test
:output-to "target/tests.js"
:output-dir "target/test/"
:ns-regexp "^app.*-test$"
;; :autorun true
:autorun true
:release
{:compiler-options
{:pseudo-names true
:pretty-print true
:source-map true
:source-map-include-sources-content true
:source-map-detail-level :all
:optimizations :whitespace
:fn-invoke-direct true}}
:compiler-options
{:output-feature-set :es8
:output-wrapper false
:source-map true
:source-map-include-sources-content true
:source-map-detail-level :all
:warnings {:fn-deprecated false}}}
:dev
{:compiler-options
{:output-feature-set :es8
:output-wrapper false}}
}}}
}}