forked from GrapesJS/grapesjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
119 lines (119 loc) · 3.02 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"name": "grapesjs",
"description": "Free and Open Source Web Builder Framework",
"version": "0.14.63",
"author": "Artur Arseniev",
"license": "BSD-3-Clause",
"homepage": "http://grapesjs.com",
"main": "dist/grapes.js",
"repository": {
"type": "git",
"url": "https://github.com/artf/grapesjs.git"
},
"dependencies": {
"backbone": "1.3.3",
"backbone-undo": "^0.2.5",
"cash-dom": "^1.3.7",
"codemirror": "^5.42.0",
"codemirror-formatting": "^1.0.0",
"font-awesome": "^4.7.0",
"keymaster": "^1.6.2",
"promise-polyfill": "^8.1.0",
"spectrum-colorpicker": "^1.8.0",
"underscore": "^1.9.1"
},
"devDependencies": {
"babel-core": "^6.26.3",
"babel-loader": "^7.1.5",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.7.0",
"documentation": "^8.1.2",
"eslint": "^5.9.0",
"html-webpack-plugin": "^3.2.0",
"husky": "^1.2.0",
"jest": "^23.6.0",
"lint-staged": "^8.1.0",
"node-sass": "^4.10.0",
"npm-run-all": "^4.1.5",
"prettier": "^1.15.3",
"sinon": "^7.1.1",
"string-replace-loader": "^2.1.1",
"vuepress": "^0.10.2",
"webpack": "^4.26.1",
"webpack-cli": "^3.1.2",
"webpack-dev-server": "^3.1.10",
"whatwg-fetch": "^3.0.0"
},
"keywords": [
"grapes",
"grapesjs",
"wysiwyg",
"web",
"template",
"editor",
"newsletter",
"site",
"builder"
],
"babel": {
"presets": [
[
"env",
{
"targets": [
"> 1%",
"ie 11",
"safari 8"
],
"useBuiltIns": true
}
]
],
"plugins": [
"transform-object-rest-spread"
]
},
"lint-staged": {
"{src,test}/**/*.js": [
"prettier --single-quote --write",
"git add"
]
},
"jest": {
"testURL": "http://localhost/",
"modulePaths": [
"./src"
],
"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 && webpack --env=prod",
"build-n": "npm run check && npm run build:css && webpack --env=prod",
"build-dev": "webpack --env=dev && npm run build:css",
"build:css": "node-sass src/styles/scss/main.scss dist/css/grapes.min.css --output-style compressed",
"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",
"format": "prettier --single-quote --write './{src,test}/**/*.js'",
"test": "jest",
"test:dev": "jest --watch"
}
}