mirror of https://github.com/artf/grapesjs.git
nocodeframeworkdrag-and-dropsite-buildersite-generatortemplate-builderui-builderweb-builderweb-builder-frameworkwebsite-builderno-codepage-builder
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.
119 lines
3.0 KiB
119 lines
3.0 KiB
{
|
|
"name": "grapesjs",
|
|
"description": "Free and Open Source Web Builder Framework",
|
|
"version": "0.19.5",
|
|
"author": "Artur Arseniev",
|
|
"license": "BSD-3-Clause",
|
|
"homepage": "http://grapesjs.com",
|
|
"main": "dist/grapes.min.js",
|
|
"sideEffects": [
|
|
"*.vue",
|
|
"*.css",
|
|
"*.scss"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/artf/grapesjs.git"
|
|
},
|
|
"dependencies": {
|
|
"backbone": "1.4.1",
|
|
"backbone-undo": "^0.2.5",
|
|
"codemirror": "^5.63.0",
|
|
"codemirror-formatting": "^1.0.0",
|
|
"promise-polyfill": "^8.1.3",
|
|
"underscore": "^1.13.1"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.15.7",
|
|
"@babel/preset-typescript": "^7.16.7",
|
|
"@types/backbone": "^1.4.15",
|
|
"@types/jest": "^28.1.1",
|
|
"@typescript-eslint/parser": "^5.22.0",
|
|
"@vuepress/plugin-google-analytics": "^1.8.2",
|
|
"documentation": "^13.2.5",
|
|
"eslint": "^8.12.0",
|
|
"grapesjs-cli": "^3.0.1",
|
|
"html-entities": "^1.4.0",
|
|
"husky": "^2.7.0",
|
|
"jest": "^24.9.0",
|
|
"lint-staged": "^8.2.1",
|
|
"npm-run-all": "^4.1.5",
|
|
"prettier": "^2.4.1",
|
|
"sass": "^1.42.1",
|
|
"sinon": "^7.5.0",
|
|
"vuepress": "^1.8.2",
|
|
"whatwg-fetch": "^3.6.2"
|
|
},
|
|
"resolutions": {
|
|
"backbone-undo/backbone": "1.3.3",
|
|
"backbone-undo/underscore": "^1.13.1"
|
|
},
|
|
"keywords": [
|
|
"grapes",
|
|
"grapesjs",
|
|
"wysiwyg",
|
|
"web",
|
|
"template",
|
|
"editor",
|
|
"newsletter",
|
|
"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",
|
|
"check": "npm run lint && npm run test",
|
|
"build": "npm run check && run-s build:*",
|
|
"build:js": "grapesjs-cli build --targets=\"> 1%, ie 11, safari 8, not dead\" --statsOutput=\"stats.json\" --localePath=\"src/i18n/locale\"",
|
|
"build:css": "sass src/styles/scss/main.scss dist/css/grapes.min.css --no-source-map --style=compressed --load-path=node_modules",
|
|
"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",
|
|
"test:dev": "jest --watch"
|
|
}
|
|
}
|
|
|