Skip to content

Commit

Permalink
Tests and lint work
Browse files Browse the repository at this point in the history
  • Loading branch information
bjacobel committed May 11, 2024
1 parent 6668835 commit b21a8ec
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
dist/*
app/dist/*
coverage/*
node_modules/*
my-new-project
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion install/src/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const clean = (pDJ, projName) => {
});

delete newPackageJson.scripts.postinstall;
newPackageJson.scripts.test = 'jest';
newPackageJson.scripts.test = 'jest -c app/jest.config.js';

newPackageJson.name = projName;

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@
"lint": "yarn run --silent style && yarn run --silent validate",
"build": "webpack -c app/webpack.config.ts",
"start": "webpack-dev-server -c app/webpack.config.ts",
"test": "jest --coverage && ./install-test.sh",
"jest": "jest -c app/jest.config.js",
"test": "yarn run --silent jest --coverage && ./install-test.sh",
"prepublish": "webpack -c install/src/webpack.config.ts"
},
"version": "0.4.0",
Expand Down

0 comments on commit b21a8ec

Please sign in to comment.