We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
test-webpack
1 parent d826155 commit 04cc66fCopy full SHA for 04cc66f
package.json
@@ -33,6 +33,7 @@
33
"mocha": "mocha test/*.js",
34
"rollup": "rollup --config",
35
"test": "npm run lint && npm run mocha",
36
+ "test-webpack": "mkdir -p test/webpack && rm -rf test/webpack && git clone git@github.com: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",
37
"types": "npx -p typescript tsc src/*.js --declaration --allowJs --emitDeclarationOnly --outDir types"
38
},
39
"devDependencies": {
0 commit comments