Skip to content

Commit

Permalink
Rename dist-min -> distMin
Browse files Browse the repository at this point in the history
  • Loading branch information
lahmatiy committed May 13, 2021
1 parent 97d7991 commit 25f927d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"build": "rollup --config",
"test:all": "npm run test:src && npm run test:dist",
"test:src": "npm test",
"test:dist": "cross-env MODE=dist npm test && MODE=\"dist-min\" npm test",
"test:dist": "cross-env MODE=dist npm test && MODE=distMin npm test",
"build-and-test": "npm run build && npm run test:dist",
"coverage": "nyc npm test",
"travis": "nyc npm run lint-and-test && npm run build-and-test && npm run coveralls",
Expand Down
2 changes: 1 addition & 1 deletion test/helpers/lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const chalk = require('chalk');
const libPaths = {
'src': 'src/index.js',
'dist': 'dist/json-ext.js',
'dist-min': 'dist/json-ext.min.js'
'distMin': 'dist/json-ext.min.js'
};
const mode = process.env.MODE || 'src';
const libPath = libPaths[mode];
Expand Down

0 comments on commit 25f927d

Please sign in to comment.