factor out jsProject

pull/5533/head
Niklas Fiekas 2019-09-17 21:24:36 +02:00
parent 23e9956a69
commit 9f12cc026f
11 changed files with 28 additions and 28 deletions

View File

@ -54,6 +54,7 @@
"ui/tree",
"ui/@build/tsProject",
"ui/@build/tsPlugins",
"ui/@build/jsProject",
"ui/@types/lichess"
]
}

View File

@ -0,0 +1,19 @@
{
"name": "@build/jsProject",
"version": "2.0.0",
"private": true,
"author": "Thibault Duplessis",
"license": "AGPL-3.0",
"main": "index.js",
"dependencies": {
"gulp": "^4",
"vinyl-source-stream": "^2",
"vinyl-buffer": "^1",
"ansi-colors": "^1",
"fancy-log": "^1",
"watchify": "^3",
"browserify": "^16",
"gulp-terser": "^1",
"gulp-size": "^3"
}
}

View File

@ -1,3 +1,3 @@
require('../gulp/jsProject.js')('LichessEditor', 'lichess.editor', __dirname);
require('@build/jsProject')('LichessEditor', 'lichess.editor', __dirname);
require('../gulp/cssProject.js')(__dirname);

View File

@ -20,6 +20,7 @@
},
"homepage": "https://github.com/ornicar/lila",
"devDependencies": {
"@build/jsProject": "^2",
"breakpoint-sass": "^2.7.1",
"browser-sync": "^2.26.3",
"browserify": "^16",

View File

@ -1,3 +1,3 @@
const lilaGulp = require('../gulp/jsProject.js');
const lilaGulp = require('@build/jsProject');
lilaGulp('LichessInsight', 'lichess.insight', __dirname);

View File

@ -20,14 +20,7 @@
},
"homepage": "https://github.com/ornicar/lila",
"devDependencies": {
"browserify": "^16",
"gulp": "^4",
"gulp-terser": "^1",
"gulp-size": "^3",
"fancy-log": "^1",
"vinyl-source-stream": "^2",
"vinyl-buffer": "^1",
"watchify": "^3"
"@build/jsProject": "^2"
},
"dependencies": {
"common": "1.0.0",

View File

@ -1,3 +1,3 @@
const lilaGulp = require('../gulp/jsProject.js');
const lilaGulp = require('@build/jsProject');
lilaGulp('LichessLearn', 'lichess.learn', __dirname);

View File

@ -19,14 +19,7 @@
},
"homepage": "https://github.com/ornicar/lila",
"devDependencies": {
"browserify": "^16",
"gulp": "^4",
"gulp-terser": "^1",
"gulp-size": "^3",
"fancy-log": "^1",
"vinyl-source-stream": "^2",
"vinyl-buffer": "^1",
"watchify": "^3"
"@build/jsProject": "^2"
},
"dependencies": {
"chess.js": "github:ornicar/chess.js#learn",

View File

@ -1,3 +1,3 @@
const lilaGulp = require('../gulp/jsProject.js');
const lilaGulp = require('@build/jsProject');
lilaGulp('LichessSimul', 'lichess.simul', __dirname);

View File

@ -19,14 +19,7 @@
},
"homepage": "https://github.com/ornicar/lila",
"devDependencies": {
"browserify": "^16",
"gulp": "^4",
"gulp-terser": "^1",
"gulp-size": "^3",
"fancy-log": "^1",
"vinyl-source-stream": "^2",
"vinyl-buffer": "^1",
"watchify": "^3"
"@build/jsProject": "^2"
},
"dependencies": {
"chat": "2.0.0",