Skip to content

Commit daf5389

Browse files
committed
Minor tweak
1 parent d110a35 commit daf5389

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.gitignore

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
node_modules/
2-
.idea/
3-
test/webpack/
1+
node_modules/*
2+
.idea/*
3+
test/webpack/*

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"mocha": "mocha test/*.js",
3333
"rollup": "rollup --config",
3434
"test": "npm run lint && npm run mocha",
35-
"test-webpack": "mkdir -p test/webpack && rm -rf test/webpack && git clone [email protected]:rabelais88/typescript-webpack.git test/webpack && echo \"import { filesize } from 'filesize';console.log(filesize(1234));\" >> test/webpack/src/index.ts && cd test/webpack && npm install && mkdir -p node_modules/filesize/dist && cp ../../package.json node_modules/filesize/ && cp ../../dist/* node_modules/filesize/dist/ && npm run build",
35+
"test-webpack": "mkdir -p test/webpack && rm -rf test/webpack/* && git clone [email protected]:rabelais88/typescript-webpack.git test/webpack && echo \"import { filesize } from 'filesize';console.log(filesize(1234));\" >> test/webpack/src/index.ts && cd test/webpack && npm install && mkdir -p node_modules/filesize/dist && cp ../../package.json node_modules/filesize/ && cp ../../dist/* node_modules/filesize/dist/ && npm run build",
3636
"types": "npx -p typescript tsc src/*.js --declaration --allowJs --emitDeclarationOnly --outDir types"
3737
},
3838
"devDependencies": {

0 commit comments

Comments
 (0)