123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138 |
- {
- "name": "grapesjs",
- "description": "Free and Open Source Web Builder Framework",
- "version": "0.16.12",
- "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": {
- "@babel/runtime": "^7.9.2",
- "backbone": "1.3.3",
- "backbone-undo": "^0.2.5",
- "cash-dom": "^2.3.9",
- "codemirror": "^5.49.2",
- "codemirror-formatting": "^1.0.0",
- "keymaster": "^1.6.2",
- "promise-polyfill": "^8.1.3",
- "spectrum-colorpicker": "^1.8.0",
- "underscore": "^1.9.1"
- },
- "devDependencies": {
- "@babel/cli": "^7.8.4",
- "@babel/core": "^7.9.0",
- "@babel/plugin-transform-runtime": "^7.9.0",
- "@babel/preset-env": "^7.9.5",
- "@vuepress/plugin-google-analytics": "^1.4.1",
- "babel-loader": "^8.1.0",
- "documentation": "^8.1.2",
- "eslint": "^6.6.0",
- "html-webpack-plugin": "^3.2.0",
- "husky": "^2.7.0",
- "jest": "^24.9.0",
- "lint-staged": "^8.2.1",
- "node-sass": "^4.13.0",
- "npm-run-all": "^4.1.5",
- "prettier": "^1.18.2",
- "sinon": "^7.5.0",
- "string-replace-loader": "^2.2.0",
- "vuepress": "^1.4.1",
- "webpack": "^4.41.2",
- "webpack-cli": "^3.3.10",
- "webpack-dev-server": "^3.9.0",
- "whatwg-fetch": "^3.0.0"
- },
- "keywords": [
- "grapes",
- "grapesjs",
- "wysiwyg",
- "web",
- "template",
- "editor",
- "newsletter",
- "site",
- "builder"
- ],
- "babel": {
- "presets": [
- [
- "@babel/preset-env",
- {
- "targets": [
- "> 1%",
- "ie 11",
- "safari 8"
- ]
- }
- ]
- ],
- "plugins": [
- "@babel/plugin-transform-runtime"
- ],
- "env": {
- "test": {
- "presets": [
- "@babel/preset-env"
- ]
- }
- }
- },
- "lint-staged": {
- "{src,test}/**/*.js": [
- "prettier --single-quote --write",
- "git add"
- ]
- },
- "jest": {
- "testURL": "http://localhost/",
- "modulePaths": [
- "./src"
- ],
- "testMatch": [
- "<rootDir>/test/specs/**/*.js"
- ],
- "setupFiles": [
- "<rootDir>/test/setup.js"
- ],
- "moduleNameMapper": {
- "^jquery$": "cash-dom"
- }
- },
- "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 src",
- "check": "npm run lint && npm run test",
- "build": "npm run check && npm run v:patch && npm run build-dev && npm run build-prod",
- "build-n": "npm run check && npm run build:css && npm run build-prod",
- "build-dev": "webpack --env=dev && npm run build:css && npm run build:locale",
- "build-prod": "webpack --env=prod",
- "build:css": "node-sass src/styles/scss/main.scss dist/css/grapes.min.css --output-style compressed",
- "build:locale": "rm -rf ./locale && node scripts/build-locale.js && babel locale -d locale --copy-files --no-comments",
- "v:patch": "npm version --no-git-tag-version patch",
- "start": "run-p start:*",
- "start:css": "npm run build:css -- -w",
- "start:js": "webpack-dev-server --open --progress --colors",
- "stats": "webpack --env=prod --profile --json > stats.json && webpack-bundle-analyzer stats.json",
- "format": "prettier --single-quote --write './{src,test}/**/*.js'",
- "test": "jest",
- "test:dev": "jest --watch"
- }
- }
|