* POC for Shared AST Logic using Yarn Symlinks * fix: preinstall script for bundling shared packages * Merge commit * fix: updated the script to link, unlink the package as shared dep * fix: updated dependencies * Add a post-install script and fix yarn.lock file * Remove commented code * fix: added verification script, readme, moved scripts to shared * Extraction of AST Logic into shared/ast folder * Add jest test script * Replace hardcoded ast Logic use with Shared AST module * Replace parse code with getAST Co-authored-by: Aman Agarwal <aman@appsmith.com>
45 lines
1.3 KiB
JSON
45 lines
1.3 KiB
JSON
{
|
|
"name": "@shared/ast",
|
|
"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 && yarn link"
|
|
},
|
|
"dependencies": {
|
|
"acorn": "^8.8.0",
|
|
"acorn-walk": "^8.2.0",
|
|
"astring": "^1.7.5",
|
|
"lodash": "^4.17.21",
|
|
"rollup": "^2.77.0",
|
|
"typescript": "4.5.5",
|
|
"unescape-js": "^1.1.4"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/preset-typescript": "^7.17.12",
|
|
"@rollup/plugin-commonjs": "^22.0.0",
|
|
"@types/lodash": "^4.14.120",
|
|
"@types/jest": "^27.4.1",
|
|
"@typescript-eslint/eslint-plugin": "^5.25.0",
|
|
"@typescript-eslint/parser": "^5.25.0",
|
|
"rollup-plugin-generate-package-json": "^3.2.0",
|
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
"rollup-plugin-typescript2": "^0.32.0",
|
|
"ts-jest": "27.0.0"
|
|
},
|
|
"author": "",
|
|
"license": "ISC"
|
|
}
|