Skip to content

Commit

Permalink
feat(package.json): fixing commands in package.json
Browse files Browse the repository at this point in the history
revert previous addition of dev:build
add "npm run build" to test command
build is needed before test because tests on running on build
  • Loading branch information
jrhender committed Aug 12, 2023
1 parent 0c539de commit 82068ca
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,14 @@
"prettier:fix": "prettier --write --ignore-path .gitignore \"**/*.{ts*,js,css,md}\"",
"lint:fix": "tsc && npm run prettier:fix && npm run eslint:fix",
"build": "rimraf public/build && npm run generate-icons && cross-env NODE_ENV=production remix build --sourcemap",
"dev:build": "npm run generate-icons && cross-env NODE_ENV=development remix build",
"dev:remix": "cross-env NODE_ENV=development remix watch",
"dev:miniflare": "cross-env NODE_ENV=development miniflare ./build/index.js --watch",
"start": "npm run dev:build && run-p dev:*",
"start": "npm run generate-icons && cross-env NODE_ENV=development remix build && run-p dev:*",
"dev": "npm start",
"prod": "cross-env NODE_ENV=production miniflare ./build/index.js",
"tsc": "tsc",
"deploy": "npm run build && wrangler publish",
"test": "jest",
"test": "npm run build && jest",
"refresh-test-data": "ts-node app/mocks/coda-responses/refresh-coda-data-for-tests.ts"
},
"main": "build/index.js"
Expand Down

0 comments on commit 82068ca

Please sign in to comment.