This repository was archived by the owner on Oct 30, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 7
7
"build" : " babel src -d lib" ,
8
8
"prepublish" : " npm run build" ,
9
9
"pretest" : " rm -f ./test/example*.css.d.ts" ,
10
- "test:base" : " diff ./test/example.css.d.ts ./test/expected-example.css.d.ts" ,
11
- "test:camelcase" : " diff ./test/example-camelcase.css.d.ts ./test/expected-example-camelcase.css.d.ts" ,
12
- "test:namedexport" : " diff ./test/example-namedexport.css.d.ts ./test/expected-example-namedexport.css.d.ts" ,
13
- "test:camelcase-namedexport" : " diff ./test/example-camelcase-namedexport.css.d.ts ./test/expected-example-camelcase-namedexport.css.d.ts" ,
14
- "test:steps" : " npm run test:base && npm run test:camelcase && npm run test:namedexport && npm run test:camelcase-namedexport" ,
15
- "test:run" : " babel-node ./node_modules/webpack/bin/webpack --config ./test/webpack.config.babel.js && npm run test:steps" ,
10
+ "test:diff" : " (cd test; set -e; for f in example*css.d.ts; do diff $f expected-$f; done;)" ,
11
+ "test:run" : " babel-node ./node_modules/webpack/bin/webpack --config ./test/webpack.config.babel.js && npm run test:diff" ,
16
12
"test" : " npm run test:run > /dev/null 2>&1 && npm run test:run"
17
13
},
18
14
"author" :
" Tim Sebastian <[email protected] >" ,
You can’t perform that action at this time.
0 commit comments