Browse Source

Upgrade grapesjs-cli

pull/5358/head
Artur Arseniev 2 years ago
parent
commit
eca51547a4
  1. 8
      package.json
  2. 7
      webpack.config.js
  3. 1862
      yarn.lock

8
package.json

@ -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",
@ -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",
@ -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",

7
webpack.config.js

@ -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,

1862
yarn.lock

File diff suppressed because it is too large
Loading…
Cancel
Save