{ "name": "webpack-node-module-types", "version": "1.2.4", "description": "⛔️ [DEPRECATED] Attempts to classify each dependency under node_modules as a CJS or ESM package", "keywords": [ "deprecated", "obsolete", "archived", "node", "webpack", "module", "types", "es6", "esm", "es", "cjs", "cjs2" ], "repository": { "type": "git", "url": "https://github.com/Xunnamius/webpack-node-module-types" }, "license": "MIT", "author": "Xunnamius", "sideEffects": false, "type": "commonjs", "exports": { ".": "./dist/index.js", "./sync": "./dist/sync.js", "./async": "./dist/index.js", "./package": "./package.json", "./package.json": "./package.json" }, "main": "./dist", "types": "./dist/index.d.ts", "files": [ "/dist", "/LICENSE", "/package.json", "/README.md", "/sync", "/async" ], "scripts": { "build": "npm run clean && tsc --project tsconfig.types.json && NODE_ENV=production webpack --config-name main && mkdir async sync && cp -f dist/index.d.ts async/index.d.ts && cp -f dist/sync.d.ts sync/index.d.ts && echo \"module.exports = require('../dist/sync');\" > sync/index.js && echo \"module.exports = require('../dist/index');\" > async/index.js", "build-stats": "NODE_ENV=production webpack --config-name main --json > bundle-stats.json", "check-types": "rm -f npm.pipe; touch npm.pipe; command -v unbuffer >/dev/null; X=$?; [ $X -eq 0 ] && unbuffer tsc --project tsconfig.check-types.json >> npm.pipe; Y=$?; [ $Y -eq 0 ] && echo >> npm.pipe; unbuffer eslint --parser-options=project:tsconfig.check-types.json src >> npm.pipe; Z=$?; [ $X -ne 0 ] && tsc --project tsconfig.check-types.json >> npm.pipe && eslint --parser-options=project:tsconfig.check-types.json src >> npm.pipe; W=$?; cat npm.pipe | less -R -FX; rm npm.pipe; [ $W -eq 0 ] && [ $X -eq 1 ] || [ $X -eq 0 ] && [ $Y -eq 0 ] && [ $Z -eq 0 ]", "clean": "rm -rf dist npm.pipe coverage external-scripts/bin async sync", "fixup": "npm run check-types && npm run test && npx npm-force-resolutions && npx Xunnamius/sort-package-json && npm audit", "list-tasks": "npm run", "prepublishOnly": "npm run build", "postpublish": "npm run clean", "repl": "command -v rlwrap >/dev/null && rlwrap npx -p @babel/core -p @babel/node babel-node", "test": "BABEL_ENV=test jest --coverage --runInBand" }, "devDependencies": { "@babel/cli": "^7.20.7", "@babel/core": "^7.20.7", "@babel/plugin-proposal-export-default-from": "^7.18.10", "@babel/plugin-proposal-function-bind": "^7.18.9", "@babel/preset-env": "^7.20.2", "@babel/preset-typescript": "^7.18.6", "@types/jest": "^29.2.5", "@types/node": "^18.11.18", "@typescript-eslint/eslint-plugin": "^5.48.0", "@typescript-eslint/parser": "^5.48.0", "babel-eslint": "^10.1.0", "babel-jest": "^29.3.1", "babel-loader": "^9.1.0", "babel-plugin-source-map-support": "^2.2.0", "eslint": "^8.31.0", "eslint-import-resolver-alias": "^1.1.2", "eslint-import-resolver-typescript": "^3.5.2", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.2.0", "jest": "^29.3.1", "jest-circus": "^29.3.1", "jest-extended": "^3.2.1", "npm-force-resolutions": "0.0.10", "source-map-support": "^0.5.21", "typescript": "^4.9.4", "webpack": "^5.75.0", "webpack-cli": "^5.0.1", "webpack-node-externals": "^3.0.0" }, "engines": { "node": ">= 12.x" } }