File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2222 "test:only" : " jest" ,
2323 "test:bundle" : " jest --setupTestFrameworkScriptFile ./tests/jestBundleSetup.js" ,
2424 "test:lib" : " jest --setupTestFrameworkScriptFile ./tests/jestLibSetup.js" ,
25- "test:all" : " npm run build && npm run test:only && npm run test:bundle && npm run test:lib && npm run clean" ,
25+ "test:all" : " npm run lint && npm run test:only && npm run build && npm run test:bundle && npm run test:lib && npm run clean" ,
2626 "test" : " npm run test:all" ,
2727 "precommit" : " lint-staged" ,
28- "prepublishOnly" : " npm run lint && npm run clean && npm run build"
28+ "prepublishOnly" : " npm run clean && npm run build"
2929 },
3030 "lint-staged" : {
3131 "*.{js,md}" : [
Original file line number Diff line number Diff line change 11/* eslint-disable no-console */
22
33const warn = ( condition , message , trace = true ) => {
4- if ( ! ! condition ) {
4+ if ( condition ) {
55 console . warn ( `[react-powerplug]: ${ message } ` )
66 console . trace && trace && console . trace ( 'Trace' )
77 }
You can’t perform that action at this time.
0 commit comments