PromucFlow_constructor/app/shared/ast/package.json
ChandanBalajiBP 88da94abe7
fix: Remove devDependencies from RTS build (#22239)
Remove devDependencies from the RTS build.
In process of building RTS, we used to copy node_modules to /dist
(Build folder)
But this is not ideal process which increases the build size by adding
unwanted packages.
Now as part of the solution, we are only moving only prodDependencies
to /dist.
This also resolves user request to exclude vulnerable package -
`formidable`.

Fixes #22182
2023-04-13 17:32:13 +05:30

52 lines
1.5 KiB
JSON

{
"name": "@shared/ast",
"private": true,
"version": "1.0.0",
"description": "",
"main": "build/index.js",
"module": "build/index.es.js",
"types": "build/index.d.ts",
"files": [
"build"
],
"publishConfig": {
"directory": "build"
},
"scripts": {
"test:unit": "$(npm bin)/jest -b --colors --no-cache --silent --coverage --collectCoverage=true --coverageDirectory='../' --coverageReporters='json-summary'",
"test:jest": "$(npm bin)/jest --watch",
"build": "rollup -c",
"start": "rollup -c",
"link-package": "yarn install && rollup -c && cd build && cp -R ../node_modules ./node_modules && yarn link"
},
"dependencies": {
"@babel/runtime": "^7.21.0",
"@rollup/plugin-commonjs": "^22.0.0",
"@types/escodegen": "^0.0.7",
"@types/lodash": "^4.14.120",
"acorn": "^8.8.0",
"acorn-walk": "^8.2.0",
"astravel": "^0.6.1",
"astring": "^1.7.5",
"klona": "^2.0.5",
"escodegen": "^2.0.0",
"lodash": "^4.17.21",
"rollup": "^2.77.0",
"rollup-plugin-generate-package-json": "^3.2.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-typescript2": "^0.32.0",
"typescript": "4.5.5",
"unescape-js": "^1.1.4"
},
"devDependencies": {
"@babel/preset-typescript": "^7.17.12",
"@types/jest": "29.0.3",
"@typescript-eslint/eslint-plugin": "^5.25.0",
"@typescript-eslint/parser": "^5.25.0",
"jest": "29.0.3",
"ts-jest": "29.0.1"
},
"author": "",
"license": "ISC"
}