Skip to content

Commit

Permalink
Upgrade grapesjs-cli
Browse files Browse the repository at this point in the history
  • Loading branch information
artf committed Aug 30, 2023
1 parent b1bf656 commit eca5154
Show file tree
Hide file tree
Showing 3 changed files with 1,575 additions and 302 deletions.
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "grapesjs",
"description": "Free and Open Source Web Builder Framework",
"version": "0.21.4",
"version": "0.21.6",
"author": "Artur Arseniev",
"license": "BSD-3-Clause",
"homepage": "http://grapesjs.com",
Expand Down Expand Up @@ -33,7 +33,7 @@
"@vuepress/plugin-google-analytics": "^1.8.2",
"documentation": "^13.2.5",
"eslint": "^8.12.0",
"grapesjs-cli": "^4.0.0",
"grapesjs-cli": "^4.1.2",
"html-entities": "^1.4.0",
"husky": "^2.7.0",
"jest": "^24.9.0",
Expand Down Expand Up @@ -108,10 +108,12 @@
"lint": "eslint . --ext .ts,.js",
"check": "npm run lint && npm run test",
"check:ts": "tsc --noEmit",
"check:ts:build": "tsc --noEmit --esModuleInterop dist/index.d.ts",
"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",
"ts:build": "grapesjs-cli build --dts='only'",
"ts:check": "tsc --noEmit --esModuleInterop dist/index.d.ts",
"ts:build:check": "npm run ts:build && npm run ts:check",
"start": "run-p start:*",
"start:js": "grapesjs-cli serve",
"start:css": "npm run build:css -- --watch",
Expand Down
7 changes: 2 additions & 5 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
import path from 'path';
import webpack from 'webpack';
import pkg from './package.json';

const path = require('path');
const rootDir = path.resolve(__dirname);

export default ({ config }) => ({
module.exports = ({ config, pkg, webpack }) => ({
...config,
output: {
...config.output,
Expand Down
Loading

0 comments on commit eca5154

Please sign in to comment.