UNPKG

inspectpack

Version:

An inspection tool for Webpack frontend JavaScript bundles.

109 lines (108 loc) 3.97 kB
{ "name": "inspectpack", "version": "4.7.1", "description": "An inspection tool for Webpack frontend JavaScript bundles.", "main": "lib/index.js", "types": "lib/index.d.ts", "bin": { "inspectpack": "bin/inspectpack.js" }, "repository": { "type": "git", "url": "https://github.com/FormidableLabs/inspectpack.git" }, "bugs": { "url": "https://github.com/FormidableLabs/inspectpack/issues" }, "homepage": "https://github.com/FormidableLabs/inspectpack", "author": "Ryan Roemer <ryan.roemer@formidable.com>", "license": "MIT", "keywords": [ "webpack", "webpack-plugin", "plugin", "bundle", "size", "duplicates", "packages" ], "engines": { "node": ">=6.0.0" }, "scripts": { "clean-lib": "rimraf bin lib plugin", "clean-test": "rimraf \"test/fixtures/*/dist-*\"", "clean": "builder concurrent --buffer clean-lib clean-test", "preversion": "yarn run clean && yarn run build && yarn run build-test && yarn run check", "build-lib": "tsc", "build-test-wp": "node test/fixtures/packages/webpack.js --config ../../test/fixtures/config/webpack.config.js && node test/fixtures/packages/check-bundle.js", "build-test-scenarios": "builder envs --envs-path=test/fixtures/config/scenarios.json build-test-wp --buffer --queue=1", "build-test-modes": "builder envs build-test-scenarios \"[{\\\"WEBPACK_MODE\\\":\\\"development\\\"},{\\\"WEBPACK_MODE\\\":\\\"production\\\"}]\" --queue=2", "build-test-versions": "builder envs --envs-path=test/fixtures/config/versions.json build-test-modes --queue=4", "build-test": "builder run build-test-versions", "build": "yarn run clean-lib && yarn run build-lib", "watch": "tsc -w", "eslint": "eslint test/fixtures", "tslint": "tslint --project tsconfig.lint.json -t stylish", "lint": "builder concurrent --buffer eslint tslint", "test": "builder concurrent --buffer test-bin test-lib", "test-cov": "builder concurrent --buffer test-bin test-lib-cov", "test-bin": "mocha \"test/bin/**/*.spec.ts\"", "test-lib": "mocha \"test/lib/**/*.spec.ts\"", "test-lib-cov": "nyc mocha \"test/**/*.spec.ts\"", "test-usage": "node bin/inspectpack.js -h", "check": "yarn run lint && yarn run test", "check-ci": "yarn run lint && yarn run test-cov" }, "dependencies": { "chalk": "^4.1.0", "fp-ts": "^2.6.1", "io-ts": "^2.2.13", "io-ts-reporters": "^1.2.2", "pify": "^5.0.0", "semver-compare": "^1.0.0", "yargs": "^16.2.0" }, "devDependencies": { "@types/chai": "^4.2.14", "@types/mocha": "^8.2.0", "@types/mock-fs": "^4.10.0", "@types/node": "^14.0.5", "@types/pify": "^3.0.2", "@types/semver-compare": "^1.0.1", "@types/sinon-chai": "^3.2.4", "@types/yargs": "^15.0.5", "babel-eslint": "^10.1.0", "builder": "^5.0.0", "chai": "^4.2.0", "codecov": "^3.7.0", "css-loader": "^3.5.3", "deepmerge": "^4.2.2", "eslint": "^7.0.0", "eslint-config-formidable": "^4.0.0", "eslint-plugin-filenames": "^1.3.2", "eslint-plugin-import": "^2.20.2", "eslint-plugin-promise": "^4.2.1", "execa": "^5.0.0", "inspectpack-test-fixtures": "file:test/fixtures", "mocha": "^8.2.1", "mock-fs": "^4.12.0", "nyc": "^15.0.1", "raw-loader": "^4.0.2", "rimraf": "^3.0.2", "sinon": "^9.0.2", "sinon-chai": "^3.5.0", "source-map-support": "^0.5.19", "ts-node": "^9.1.1", "tslint": "^6.1.2", "typescript": "^4.1.3", "webpack": "file:test/fixtures/packages/webpack", "webpack-cli": "file:test/fixtures/packages/webpack-cli", "webpack-stats-plugin": "^1.0.2", "webpack1": "file:test/fixtures/packages/webpack1", "webpack2": "file:test/fixtures/packages/webpack2", "webpack3": "file:test/fixtures/packages/webpack3", "webpack4": "file:test/fixtures/packages/webpack4", "webpack5": "file:test/fixtures/packages/webpack5" } }