platform/dev/prod/package.json
Andrey Platov ec34b39e4d
fix webpack
Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
2021-08-06 09:41:02 +02:00

49 lines
1.6 KiB
JSON

{
"name": "prod",
"version": "1.0.0",
"license": "EPL-2.0",
"scripts": {
"build": "cross-env NODE_ENV=production webpack",
"analyze": "cross-env NODE_ENV=production webpack --json > stats.json",
"show": "webpack-bundle-analyzer stats.json dist",
"dev": "webpack serve --content-base public",
"dev-server": "cross-env CLIENT=server webpack serve --content-base public",
"start": "cross-env NODE_ENV=production webpack serve --content-base public",
"test": "echo 'no tests'",
"preformat-svelte": "prettier -w src/**/*.svelte",
"lint": "eslint --max-warnings=0 src",
"lint:fix": "yarn preformat-svelte && eslint --fix src",
"deploy": "cp -p public/* dist && aws s3 sync dist s3://anticrm-platform --delete --acl public-read"
},
"devDependencies": {
"cross-env": "^7.0.3",
"webpack-cli": "^4.6.0",
"webpack": "^5.32.0",
"mini-css-extract-plugin": "^2.2.0",
"dotenv-webpack": "^7.0.2",
"ts-loader": "^9.2.5",
"svelte-loader": "^3.1.0",
"css-loader": "^5.2.1",
"webpack-dev-server": "^3.11.2",
"style-loader": "^3.2.1",
"file-loader": "^6.2.0",
"sass-loader": "^12.1.0",
"@types/node": "^14.14.40",
"webpack-bundle-analyzer": "^4.4.1",
"svgo-loader": "^3.0.0",
"autoprefixer": "^10.2.6",
"postcss": "^8.3.4",
"postcss-loader": "^6.1.0",
"postcss-load-config": "^3.1.0"
},
"dependencies": {
"@anticrm/ui": "~0.6.0",
"@anticrm/theme": "~0.6.0",
"svelte": "^3.42.1",
"@anticrm/login": "~0.6.0",
"@anticrm/login-assets": "~0.6.0",
"@anticrm/login-resources": "~0.6.0",
"@anticrm/platform": "~0.6.3"
}
}