File tree Expand file tree Collapse file tree 5 files changed +64
-1
lines changed Expand file tree Collapse file tree 5 files changed +64
-1
lines changed Original file line number Diff line number Diff line change
1
+ /**
2
+ * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
3
+ * For licensing, see LICENSE.md.
4
+ */
5
+
6
+ /* eslint-env node */
7
+
8
+ 'use strict' ;
9
+
10
+ module . exports = {
11
+ extends : 'ckeditor5'
12
+ } ;
Original file line number Diff line number Diff line change
1
+ sudo : required
2
+ dist : trusty
3
+ addons :
4
+ firefox : latest
5
+ apt :
6
+ sources :
7
+ - google-chrome
8
+ packages :
9
+ - google-chrome-stable
10
+ language : node_js
11
+ node_js :
12
+ - ' 8'
13
+ cache :
14
+ - node_modules
15
+ branches :
16
+ except :
17
+ - stable
18
+ before_install :
19
+ - export DISPLAY=:99.0
20
+ - sh -e /etc/init.d/xvfb start
21
+ - npm config set package-lock false
22
+ - npm i -g npm@^5.7.1
23
+ install :
24
+ - npm install @ckeditor/ckeditor5-dev-tests
25
+ - ckeditor5-dev-tests-install-dependencies
26
+ script :
27
+ - ckeditor5-dev-tests-travis
28
+ env :
29
+ global :
30
+ - secure : iZjTlmSDEgnr+pJ7qfaLdU6b9yBNzcCi11RIiTmc1LyF+10tyPXQogAV/h3onhdDueZvzIw2eQ3jyVXuQVEgNJB0ruId+xAK2dliuWSC0L5dx/ln3dlubOsQiS/mKUFtJLXhgczs5gLjUjyzOqnYSmgleLn0vQ3Rxie0qb23NeNam8Dxwen9Lpns1u83OdYbaftJfgEDloNxaCCnidoNisXzMO5fNccFokjBwBh/O0f/V+zfIR5ATnQ06UdHxfBdoB2dyVTqMt8ctUTHqMTH3IGY+fubithRgU5tLBm3iP4wfx2YkH/ng6LwJBVZDtq/6ny7N+NEUDPPsNE6kZ+InOmHi3fiEdTi/JQhZEtfA9U6bCJfzE/BBhP46HlDoYJwYbsrJsSBU2mTRJI3o48NCfosUuglvp7mXnpDLgDXezY62UyGLbCUk+F/jiA7qz7NvH7kdjSK9FloyNNL6ODVBL85UrQIMvHLLoVciN9OWYyNjwfMOvJFScv+7GX3JIL9H3ArYOfDnd1uUhZARNo+WIeRlrSKydyJa+CQebwNTnTbT7vTtX5i6cJzttkjkxe4kTYWhhQLiQCwwtX6ABSiNhJn+9gBHYac1yFWL06Ireop8NvWXNqni8f1HZrdqg+xEwRdqju0lSThizVW+Ioulb7H1cYJhbKXlT1w1xLlxIU=
31
+ - secure : Ww8ia+iA1REyGQRatUB42jjegFgBozSdvxLMLVKveCarc1p7/hUmurhdZtaNoePwDayAa4fVNaSdTE899mrezpvP0pNK8pwB4+/RplycRMshNh/aDMxyl/Puy3EAEGSUx3x9BxuF8UFWHok5dNzgtxoFWUoMUxJ+0xH/rcQXRGKzYUnFWGBzsyEn5A0k/HV0RLINM4veYWwcl/0JxOIx8cqa+ZRu0VWfnDf84z6Yy/pncXjcm1LZ0PYQ7f89bULUyxRnpSbg09Mx2hV7eZlZQPfEsJB48Ti5veHKA0Xos6180+0MV9Iiu6hkax0mP1H+1tv9Le8nGMViFEQHpo1/Dkkjyg/EvEmkSs4CRVcEBSgAEU4O6T+OJ+djgllGy+bTIDiwAmvijQ1B7SWiN8Qg39KQ8wcJSfK1uFkwE9QT9DhOEDVVLsoEulkshdUw32ANNRglvenuS3mxKNPWXNpIsvliqDvXA4HJ8lH2aJnPH2th+8s4P9nxyqF5nW8U0ee78z4ilRy0vDtJaVm/nhiyghRL9tdCifcsOpeJDrluOURFyWQlp7ltB9Q0/psCMQusyg0mYpnyf9Aai7AAWB1yx4ra97SLRBNEF66DpBx/Gnw4TYKQLyh6VZWHt9Im9MCVoaAqUY3FTLl06sq8d2/DRYoxHEPN1K3Wqol0viktg3g=
Original file line number Diff line number Diff line change 45
45
"@ckeditor/ckeditor5-table" : " ^11.0.1" ,
46
46
"@ckeditor/ckeditor5-theme-lark" : " ^12.0.0" ,
47
47
"@ckeditor/ckeditor5-upload" : " ^10.0.4" ,
48
+ "eslint" : " ^5.5.0" ,
49
+ "eslint-config-ckeditor5" : " ^1.0.7" ,
50
+ "husky" : " ^0.14.3" ,
51
+ "lint-staged" : " ^7.0.0" ,
48
52
"postcss-loader" : " ^3.0.0" ,
49
53
"raw-loader" : " ^1.0.0" ,
50
54
"style-loader" : " ^0.23.0" ,
66
70
},
67
71
"scripts" : {
68
72
"build" : " webpack --mode production" ,
73
+ "lint" : " eslint --quiet '**/*.js'" ,
74
+ "precommit" : " lint-staged" ,
69
75
"preversion" : " npm run build; if [ -n \" $(git status src/ckeditor.js build/ --porcelain)\" ]; then git add -u src/ckeditor.js build/ && git commit -m 'Internal: Build.'; fi"
70
- }
76
+ },
77
+ "lint-staged" : {
78
+ "**/*.js" : [
79
+ " eslint --quiet"
80
+ ]
81
+ },
82
+ "eslintIgnore" : [
83
+ " build/**" ,
84
+ " packages/**"
85
+ ]
71
86
}
Original file line number Diff line number Diff line change 3
3
* For licensing, see LICENSE.md.
4
4
*/
5
5
6
+ /* eslint-env commonjs */
7
+ /* globals window, document, console */
8
+
6
9
const ClassicEditor = require ( '../../build/ckeditor' ) ;
7
10
8
11
ClassicEditor . create ( document . querySelector ( '#editor' ) )
Original file line number Diff line number Diff line change 3
3
* For licensing, see LICENSE.md.
4
4
*/
5
5
6
+ /* globals window, document, console */
7
+
6
8
import ClassicEditor from '../../build/ckeditor' ;
7
9
8
10
ClassicEditor . create ( document . querySelector ( '#editor' ) )
You can’t perform that action at this time.
0 commit comments