mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 21:23:45 +01:00
Convert app.js to ES modules
GitOrigin-RevId: 7819cc8c8235b93b985c1c07c7dec778c93d9134
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
"name": "@overleaf/web",
|
||||
"description": "The HTTP front end for Overleaf",
|
||||
"private": true,
|
||||
"main": "app.js",
|
||||
"main": "app.mjs",
|
||||
"directories": {
|
||||
"public": "./public"
|
||||
},
|
||||
@@ -15,8 +15,8 @@
|
||||
"test:unit:app": "npm run test:unit:run_dir -- test/unit/src",
|
||||
"test:frontend": "NODE_ENV=test TZ=GMT mocha --recursive --timeout 5000 --exit --extension js,jsx,mjs,ts,tsx --grep=$MOCHA_GREP --require test/frontend/bootstrap.js --ignore '**/*.spec.{js,jsx,ts,tsx}' --ignore '**/helpers/**/*.{js,jsx,ts,tsx}' test/frontend modules/*/test/frontend",
|
||||
"test:frontend:coverage": "c8 --all --include 'frontend/js' --include 'modules/*/frontend/js' --exclude 'frontend/js/vendor' --reporter=lcov --reporter=text-summary npm run test:frontend",
|
||||
"start": "node app.js",
|
||||
"nodemon": "node --watch app.js --watch-locales",
|
||||
"start": "node app.mjs",
|
||||
"nodemon": "node --watch app.mjs --watch-locales",
|
||||
"webpack": "webpack serve --config webpack.config.dev.js",
|
||||
"webpack:production": "webpack --config webpack.config.prod.js",
|
||||
"webpack:profile": "webpack --config webpack.config.prod.js --profile --json > stats.json",
|
||||
|
||||
Reference in New Issue
Block a user