joomla-oauth-server/package.json

36 lines
1.4 KiB
JSON
Raw Normal View History

2024-03-11 00:09:18 +03:00
{
"name": "joomla-oauth-server",
"version": "1.0.0",
"description": "OAuth Server for Joomla",
"scripts": {
"clean": "rimraf com_oauthserver/media",
"copy:asset": "cpy 'build/src/*/joomla.asset.json' . --rename=media/{{basename}}",
"build:uncompressed:es5": "cross-env BABEL_CONFIG=babel.config.es5.json webpack",
"build:compressed:es5": "cross-env BABEL_CONFIG=babel.config.es5.json NODE_ENV=production webpack",
"build:es5": "npm run build:uncompressed:es5 && npm run build:compressed:es5",
"build:uncompressed:es2017": "cross-env BABEL_CONFIG=babel.config.es2017.json webpack",
"build:compressed:es2017": "cross-env BABEL_CONFIG=babel.config.es2017.json NODE_ENV=production webpack",
"build:es2017": "npm run build:uncompressed:es2017 && npm run build:compressed:es2017",
"build": "npm run clean && npm run build:es5 && npm run build:es2017 && npm run copy:asset",
"install": "npm run build",
"update": "npm run build"
},
"author": {
"name": "Artem Vasilev",
"email": "dev@webmasterskaya.xyz",
"url": "https://webmasterskaya.xyz/"
},
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.24.0",
"@babel/preset-env": "^7.24.0",
"babel-loader": "^9.1.3",
"cpy-cli": "^5.0.0",
"cross-env": "^7.0.3",
"rimraf": "^5.0.5",
"terser-webpack-plugin": "^5.3.10",
"webpack": "^5.90.3",
"webpack-cli": "^5.1.4"
}
}