|
|
|
@ -1,7 +1,7 @@ |
|
|
|
{ |
|
|
|
"name": "grapesjs", |
|
|
|
"description": "Free and Open Source Web Builder Framework", |
|
|
|
"version": "0.21.12", |
|
|
|
"version": "0.21.13", |
|
|
|
"author": "Artur Arseniev", |
|
|
|
"license": "BSD-3-Clause", |
|
|
|
"homepage": "http://grapesjs.com", |
|
|
|
@ -40,22 +40,29 @@ |
|
|
|
"underscore": "^1.13.1" |
|
|
|
}, |
|
|
|
"devDependencies": { |
|
|
|
"@babel/cli": "^7.15.7", |
|
|
|
"@babel/preset-typescript": "^7.16.7", |
|
|
|
"@types/jest": "^28.1.1", |
|
|
|
"@typescript-eslint/parser": "^5.22.0", |
|
|
|
"@babel/cli": "7.24.8", |
|
|
|
"@babel/preset-typescript": "7.24.7", |
|
|
|
"@types/jest": "29.5.12", |
|
|
|
"@types/markdown-it": "14.1.2", |
|
|
|
"@typescript-eslint/eslint-plugin": "8.0.1", |
|
|
|
"@typescript-eslint/parser": "8.0.1", |
|
|
|
"@vuepress/plugin-google-analytics": "^1.8.2", |
|
|
|
"@vuepress/types": "^1.9.10", |
|
|
|
"documentation": "^13.2.5", |
|
|
|
"eslint": "^8.12.0", |
|
|
|
"eslint": "8.57.0", |
|
|
|
"eslint-config-prettier": "9.1.0", |
|
|
|
"eslint-plugin-jest": "28.8.0", |
|
|
|
"eslint-plugin-prettier": "5.1.3", |
|
|
|
"grapesjs-cli": "^4.1.3", |
|
|
|
"html-entities": "^1.4.0", |
|
|
|
"husky": "^2.7.0", |
|
|
|
"jest": "^24.9.0", |
|
|
|
"lint-staged": "^8.2.1", |
|
|
|
"jest": "29.7.0", |
|
|
|
"jsdom": "24.1.1", |
|
|
|
"npm-run-all": "^4.1.5", |
|
|
|
"prettier": "^2.4.1", |
|
|
|
"postcss": "8", |
|
|
|
"prettier": "3.3.3", |
|
|
|
"sass": "^1.42.1", |
|
|
|
"vuepress": "^1.8.2", |
|
|
|
"typescript": "5.4.5", |
|
|
|
"vuepress": "^1.9.10", |
|
|
|
"whatwg-fetch": "^3.6.2" |
|
|
|
}, |
|
|
|
"resolutions": { |
|
|
|
@ -73,55 +80,15 @@ |
|
|
|
"site", |
|
|
|
"builder" |
|
|
|
], |
|
|
|
"babel": { |
|
|
|
"env": { |
|
|
|
"test": { |
|
|
|
"presets": [ |
|
|
|
"@babel/preset-env", |
|
|
|
"@babel/preset-typescript" |
|
|
|
] |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
"lint-staged": { |
|
|
|
"{src,test}/**/*.(t|j)s": [ |
|
|
|
"eslint --ext .ts,.js --fix", |
|
|
|
"prettier --single-quote --print-width 120 --arrow-parens avoid --write", |
|
|
|
"git add" |
|
|
|
] |
|
|
|
}, |
|
|
|
"jest": { |
|
|
|
"moduleFileExtensions": [ |
|
|
|
"js", |
|
|
|
"ts" |
|
|
|
], |
|
|
|
"verbose": true, |
|
|
|
"testURL": "http://localhost/", |
|
|
|
"modulePaths": [ |
|
|
|
"<rootDir>/src" |
|
|
|
], |
|
|
|
"testMatch": [ |
|
|
|
"<rootDir>/test/specs/**/*.(t|j)s" |
|
|
|
], |
|
|
|
"setupFiles": [ |
|
|
|
"<rootDir>/test/setup.js" |
|
|
|
] |
|
|
|
}, |
|
|
|
"husky": { |
|
|
|
"hooks": { |
|
|
|
"pre-commit": "lint-staged" |
|
|
|
} |
|
|
|
}, |
|
|
|
"scripts": { |
|
|
|
"docs": "vuepress dev docs", |
|
|
|
"docs:api": "node docs/api.js", |
|
|
|
"docs:build-vp": "vuepress build docs", |
|
|
|
"docs:build": "npm run docs:api && npm run docs:build-vp", |
|
|
|
"docs:deploy": "docs/deploy.sh", |
|
|
|
"lint": "eslint . --ext .ts,.js && npm run lint:ts", |
|
|
|
"check": "npm run lint && npm run test", |
|
|
|
"lint": "eslint .", |
|
|
|
"lint:ts": "tsc --noEmit", |
|
|
|
"build": "npm run check && npm run build-all && npm run ts:check", |
|
|
|
"build": "npm run build-all && npm run ts:check", |
|
|
|
"build-all": "run-s build:*", |
|
|
|
"build:js": "grapesjs-cli build --targets=\"> 1%, ie 11, safari 8, not dead\" --statsOutput=\"stats.json\" --localePath=\"src/i18n/locale\"", |
|
|
|
"build:mjs": "BUILD_MODULE=true grapesjs-cli build --dts='skip' --patch=0 --targets=\"> 1%, ie 11, safari 8, not dead\"", |
|
|
|
@ -132,8 +99,9 @@ |
|
|
|
"start": "run-p start:*", |
|
|
|
"start:js": "grapesjs-cli serve", |
|
|
|
"start:css": "npm run build:css -- --watch", |
|
|
|
"format": "prettier --single-quote --write './{src,test}/**/*.js'", |
|
|
|
"test": "jest", |
|
|
|
"format": "prettier . --write", |
|
|
|
"format:check": "prettier . --check", |
|
|
|
"test": "jest --forceExit", |
|
|
|
"test:dev": "jest --watch" |
|
|
|
} |
|
|
|
} |
|
|
|
|