webpack-sources
Version:
Source code handling classes for webpack
60 lines (59 loc) • 2.69 kB
JSON
{
"name": "webpack-sources",
"version": "3.6.0",
"description": "Source code handling classes for webpack",
"keywords": ["webpack", "source-map"],
"homepage": "https://github.com/webpack/webpack-sources#readme",
"bugs": {
"url": "https://github.com/webpack/webpack-sources/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/webpack/webpack-sources.git"
},
"license": "MIT",
"author": "Tobias Koppers @sokra",
"main": "lib/index.js",
"types": "types.d.ts",
"files": ["lib/", "types/", "types.d.ts"],
"scripts": {
"lint": "npm run lint:code && npm run lint:types && npm run lint:types-test",
"lint:code": "eslint --cache .",
"lint:types": "tsc",
"lint:types-test": "tsc -p tsconfig.types.test.json",
"fmt": "npm run fmt:base -- --loglevel warn --write",
"fmt:check": "npm run fmt:base -- --check",
"fmt:base": "prettier --cache --ignore-unknown .",
"fix": "npm run fix:code && npm run build:types",
"fix:code": "npm run lint:code -- --fix",
"build:types": "del-cli types && tsc -p tsconfig.types.json && prettier --log-level warn --write types",
"pretest": "npm run lint",
"test": "node --require ./test/helpers/validate-mappings.js --test --test-reporter=dot \"test/*.js\"",
"test:coverage": "node --require ./test/helpers/validate-mappings.js --test --experimental-test-coverage --test-coverage-include=\"lib/**\" --test-reporter=dot --test-reporter-destination=stdout --test-reporter=lcov --test-reporter-destination=lcov.info \"test/*.js\"",
"test:update-snapshots": "node --require ./test/helpers/validate-mappings.js --test --test-reporter=dot --test-update-snapshots \"test/*.js\"",
"test:legacy": "jest",
"test:legacy:coverage": "jest --coverage",
"benchmark": "node --max-old-space-size=4096 --hash-seed=1 --random-seed=1 --no-opt --predictable --predictable-gc-schedule --interpreted-frames-native-stack --allow-natives-syntax --expose-gc --no-concurrent-sweeping ./benchmark/run.mjs cases",
"benchmark:memory": "node --expose-gc --max-old-space-size=4096 ./benchmark/run.mjs memory",
"version": "changeset version && npm run fmt",
"release": "changeset publish"
},
"devDependencies": {
"@changesets/cli": "^3.0.3",
"@changesets/get-github-info": "^1.0.1",
"@codspeed/core": "^5.5.0",
"del-cli": "^7.0.0",
"eslint": "^9.39.5",
"eslint-config-webpack": "^4.14.0",
"jest": "^30.5.2",
"prettier": "^3.9.9",
"source-map": "^0.8.0",
"sourcemap-validator": "^2.1.0",
"tinybench": "^6.0.0",
"typescript": "^6.0.2",
"webpack": "^5.107.2"
},
"engines": {
"node": ">=10.13.0"
}
}