mirror of https://github.com/docusealco/docuseal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
228 lines
6.4 KiB
228 lines
6.4 KiB
{
|
|
"name": "shakapacker",
|
|
"version": "9.7.0",
|
|
"description": "Use webpack to manage app-like JavaScript modules in Rails",
|
|
"homepage": "https://github.com/shakacode/shakapacker",
|
|
"bugs": {
|
|
"url": "https://github.com/shakacode/shakapacker/issues"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/shakacode/shakapacker.git"
|
|
},
|
|
"license": "MIT",
|
|
"author": "David Heinemeier Hansson <david@basecamp.com>, Justin Gordon <justin@shakacode.com>",
|
|
"main": "package/index.js",
|
|
"types": "package/index.d.ts",
|
|
"exports": {
|
|
".": "./package/index.js",
|
|
"./types": "./package/types/index.js",
|
|
"./webpack": "./package/webpack/index.js",
|
|
"./rspack": "./package/rspack/index.js",
|
|
"./swc": "./package/swc/index.js",
|
|
"./esbuild": "./package/esbuild/index.js",
|
|
"./configExporter": "./package/configExporter/index.js",
|
|
"./package.json": "./package.json",
|
|
"./package/babel/preset.js": "./package/babel/preset.js",
|
|
"./package/*": "./package/*"
|
|
},
|
|
"files": [
|
|
"package",
|
|
"lib/install/config/shakapacker.yml"
|
|
],
|
|
"scripts": {
|
|
"clean:ts": "find package -name '*.ts' -not -name '*.d.ts' | sed 's/\\.ts$//' | xargs -I {} rm -f {}.js {}.d.ts {}.d.ts.map {}.js.map",
|
|
"build": "tsc && cp package/index.d.ts.template package/index.d.ts && node scripts/remove-use-strict.js && yarn prettier --write 'package/**/*.js' 'package/**/*.ts'",
|
|
"build:types": "tsc",
|
|
"knip": "knip",
|
|
"knip:production": "knip --production",
|
|
"lint": "eslint . --cache",
|
|
"lint:fast": "eslint . --config eslint.config.fast.js --cache",
|
|
"test": "jest",
|
|
"type-check": "tsc --noEmit",
|
|
"prepublishOnly": "yarn build && yarn type-check"
|
|
},
|
|
"dependencies": {
|
|
"js-yaml": "^4.1.0",
|
|
"path-complete-extname": "^1.0.0",
|
|
"webpack-merge": "^5.8.0",
|
|
"yargs": "^17.7.2"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/eslintrc": "^3.2.0",
|
|
"@eslint/js": "^9.37.0",
|
|
"@rspack/cli": "2.0.0-beta.6",
|
|
"@rspack/core": "2.0.0-beta.6",
|
|
"@swc/core": "^1.3.0",
|
|
"@types/babel__core": "^7.20.5",
|
|
"@types/js-yaml": "^4.0.9",
|
|
"@types/node": "^24.5.2",
|
|
"@types/path-complete-extname": "^1.0.3",
|
|
"@types/webpack": "^5.28.5",
|
|
"@types/webpack-dev-server": "^4.7.2",
|
|
"@types/webpack-merge": "^5.0.0",
|
|
"@types/yargs": "^17.0.33",
|
|
"@typescript-eslint/eslint-plugin": "^8.46.0",
|
|
"@typescript-eslint/parser": "^8.46.0",
|
|
"babel-loader": "^8.2.4",
|
|
"compression-webpack-plugin": "^9.0.0",
|
|
"css-loader": "^7.1.2",
|
|
"esbuild-loader": "^2.18.0",
|
|
"eslint": "^9.37.0",
|
|
"eslint-config-airbnb": "^19.0.4",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-plugin-import": "^2.32.0",
|
|
"eslint-plugin-jest": "^29.0.1",
|
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
"eslint-plugin-react": "^7.37.5",
|
|
"eslint-plugin-react-hooks": "^7.0.0",
|
|
"husky": "^9.1.7",
|
|
"jest": "^29.7.0",
|
|
"knip": "^5.64.2",
|
|
"lint-staged": "^15.2.10",
|
|
"memory-fs": "^0.5.0",
|
|
"mini-css-extract-plugin": "^2.9.4",
|
|
"prettier": "^3.6.2",
|
|
"rspack-manifest-plugin": "^5.0.3",
|
|
"sass-loader": "^16.0.5",
|
|
"swc-loader": "^0.1.15",
|
|
"thenify": "^3.3.1",
|
|
"ts-jest": "^29.4.5",
|
|
"typescript": "^5.9.2",
|
|
"webpack": "5.93.0",
|
|
"webpack-assets-manifest": "^5.0.6",
|
|
"webpack-cli": "^6.0.0",
|
|
"webpack-subresource-integrity": "^5.1.0"
|
|
},
|
|
"peerDependencies": {
|
|
"@babel/core": "^7.17.9",
|
|
"@babel/plugin-transform-runtime": "^7.17.0",
|
|
"@babel/preset-env": "^7.16.11",
|
|
"@babel/runtime": "^7.17.9",
|
|
"@rspack/cli": "^1.0.0 || ^2.0.0-0",
|
|
"@rspack/core": "^1.0.0 || ^2.0.0-0",
|
|
"@rspack/plugin-react-refresh": "^1.0.0",
|
|
"@swc/core": "^1.3.0",
|
|
"@types/babel__core": "^7.0.0",
|
|
"@types/webpack": "^5.0.0",
|
|
"babel-loader": "^8.2.4 || ^9.0.0 || ^10.0.0",
|
|
"compression-webpack-plugin": "^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0",
|
|
"css-loader": "^6.8.1 || ^7.0.0",
|
|
"esbuild": "^0.14.0 || ^0.15.0 || ^0.16.0 || ^0.17.0 || ^0.18.0 || ^0.19.0 || ^0.20.0 || ^0.21.0 || ^0.22.0 || ^0.23.0 || ^0.24.0 || ^0.25.0 || ^0.26.0 || ^0.27.0",
|
|
"esbuild-loader": "^2.0.0 || ^3.0.0 || ^4.0.0",
|
|
"mini-css-extract-plugin": "^2.0.0",
|
|
"rspack-manifest-plugin": "^5.0.0",
|
|
"sass": "^1.50.0",
|
|
"sass-loader": "^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0",
|
|
"swc-loader": "^0.1.15 || ^0.2.0",
|
|
"terser-webpack-plugin": "^5.3.1",
|
|
"webpack": "^5.76.0",
|
|
"webpack-assets-manifest": "^5.0.6 || ^6.0.0",
|
|
"webpack-cli": "^4.9.2 || ^5.0.0 || ^6.0.0",
|
|
"webpack-dev-server": "^4.15.2 || ^5.2.2",
|
|
"webpack-subresource-integrity": "^5.1.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@babel/core": {
|
|
"optional": true
|
|
},
|
|
"@babel/plugin-transform-runtime": {
|
|
"optional": true
|
|
},
|
|
"@babel/preset-env": {
|
|
"optional": true
|
|
},
|
|
"@babel/runtime": {
|
|
"optional": true
|
|
},
|
|
"@rspack/core": {
|
|
"optional": true
|
|
},
|
|
"@rspack/cli": {
|
|
"optional": true
|
|
},
|
|
"@rspack/plugin-react-refresh": {
|
|
"optional": true
|
|
},
|
|
"@swc/core": {
|
|
"optional": true
|
|
},
|
|
"@types/babel__core": {
|
|
"optional": true
|
|
},
|
|
"@types/webpack": {
|
|
"optional": true
|
|
},
|
|
"babel-loader": {
|
|
"optional": true
|
|
},
|
|
"compression-webpack-plugin": {
|
|
"optional": true
|
|
},
|
|
"css-loader": {
|
|
"optional": true
|
|
},
|
|
"esbuild": {
|
|
"optional": true
|
|
},
|
|
"esbuild-loader": {
|
|
"optional": true
|
|
},
|
|
"mini-css-extract-plugin": {
|
|
"optional": true
|
|
},
|
|
"rspack-manifest-plugin": {
|
|
"optional": true
|
|
},
|
|
"sass": {
|
|
"optional": true
|
|
},
|
|
"sass-loader": {
|
|
"optional": true
|
|
},
|
|
"swc-loader": {
|
|
"optional": true
|
|
},
|
|
"terser-webpack-plugin": {
|
|
"optional": true
|
|
},
|
|
"webpack": {
|
|
"optional": true
|
|
},
|
|
"webpack-assets-manifest": {
|
|
"optional": true
|
|
},
|
|
"webpack-cli": {
|
|
"optional": true
|
|
},
|
|
"webpack-dev-server": {
|
|
"optional": true
|
|
},
|
|
"webpack-subresource-integrity": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"packageManager": "yarn@1.22.22",
|
|
"lint-staged": {
|
|
"*.{js,jsx}": [
|
|
"eslint --fix",
|
|
"prettier --write"
|
|
],
|
|
"*.{ts,tsx}": [
|
|
"eslint --fix",
|
|
"prettier --write",
|
|
"node scripts/type-check-no-emit.js"
|
|
],
|
|
"*.{json,yml,yaml,md}": [
|
|
"prettier --write"
|
|
]
|
|
},
|
|
"engines": {
|
|
"node": ">= 20",
|
|
"yarn": ">=1 <5"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
}
|
|
}
|