* feat(web): add deploying static app * fix(web): linter ignore patterns * fix(web): cloudfront invalidation and favicons placement * feat(web-server): remove web-server package in favour of web * fix(web): remove linter parallel jobs due to oom issue * fix(mobile): eslintignore paths * fix(web): copy of components * fix(web): include building components in building all process * fix(web): copying of components
101 lines
3.5 KiB
JSON
101 lines
3.5 KiB
JSON
{
|
|
"name": "@standardnotes/web",
|
|
"version": "3.41.3",
|
|
"license": "AGPL-3.0-or-later",
|
|
"main": "dist/app.js",
|
|
"author": "Standard Notes.",
|
|
"private": true,
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "yarn clean && yarn copy:components && webpack --config web.webpack.prod.js && yarn tsc",
|
|
"clean": "rm -fr dist && rm -rf src/components",
|
|
"format": "prettier --write src/javascripts",
|
|
"lint": "eslint src/javascripts",
|
|
"start": "webpack-dev-server --config web.webpack.dev.js",
|
|
"test": "jest --config jest.config.js --coverage",
|
|
"tsc": "tsc --project tsconfig.json",
|
|
"upgrade:snjs": "ncu -u '@standardnotes/*'",
|
|
"watch": "webpack -w --config web.webpack.dev.js",
|
|
"copy:components": "yarn copy:components-assets && yarn copy:components-zips",
|
|
"copy:components-assets": "mkdir -p src/components/assets && cp -r ../../node_modules/@standardnotes/components-meta/dist/assets/. src/components/assets",
|
|
"copy:components-zips": "mkdir -p src/components/zips && cp -r ../../node_modules/@standardnotes/components-meta/dist/zips/. ./src/components/zips"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "*",
|
|
"@babel/plugin-transform-react-jsx": "^7.17.3",
|
|
"@babel/preset-env": "*",
|
|
"@babel/preset-typescript": "^7.16.7",
|
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.7",
|
|
"@types/jest": "^28.1.5",
|
|
"@types/react": "^17.0.42",
|
|
"@types/react-dom": "^18.0.5",
|
|
"@types/wicg-file-system-access": "^2020.9.5",
|
|
"autoprefixer": "^10.4.7",
|
|
"babel-loader": "^8.2.5",
|
|
"circular-dependency-plugin": "^5.2.2",
|
|
"copy-webpack-plugin": "^11.0.0",
|
|
"css-loader": "*",
|
|
"dotenv": "^16.0.0",
|
|
"eslint": "*",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-plugin-react": "^7.29.4",
|
|
"eslint-plugin-react-hooks": "^4.4.0",
|
|
"html-webpack-plugin": "^5.5.0",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"jest": "^28.1.2",
|
|
"jest-environment-jsdom": "^28.1.2",
|
|
"lint-staged": ">=12",
|
|
"mini-css-extract-plugin": "^2.6.0",
|
|
"node-sass": "*",
|
|
"npm-check-updates": "*",
|
|
"postcss": "^8.4.14",
|
|
"postcss-loader": "^7.0.0",
|
|
"prettier": "*",
|
|
"prettier-plugin-tailwindcss": "^0.1.11",
|
|
"react-refresh": "^0.14.0",
|
|
"sass-loader": "*",
|
|
"svg-jest": "^1.0.1",
|
|
"tailwindcss": "^3.1.4",
|
|
"ts-jest": "^28.0.5",
|
|
"ts-loader": "^9.2.8",
|
|
"typescript": "*",
|
|
"webpack": "*",
|
|
"webpack-dev-server": "*",
|
|
"webpack-merge": "^5.8.0"
|
|
},
|
|
"dependencies": {
|
|
"@reach/alert": "^0.16.0",
|
|
"@reach/alert-dialog": "^0.16.2",
|
|
"@reach/checkbox": "^0.16.0",
|
|
"@reach/dialog": "^0.16.2",
|
|
"@reach/disclosure": "^0.16.2",
|
|
"@reach/listbox": "^0.16.2",
|
|
"@reach/tooltip": "^0.16.2",
|
|
"@reach/visually-hidden": "^0.16.0",
|
|
"@standardnotes/components-meta": "workspace:*",
|
|
"@standardnotes/filepicker": "workspace:*",
|
|
"@standardnotes/files": "workspace:*",
|
|
"@standardnotes/icons": "workspace:*",
|
|
"@standardnotes/sncrypto-web": "workspace:*",
|
|
"@standardnotes/snjs": "workspace:*",
|
|
"@standardnotes/styles": "workspace:*",
|
|
"@standardnotes/toast": "workspace:*",
|
|
"@zip.js/zip.js": "^2.4.10",
|
|
"mobx": "^6.5.0",
|
|
"mobx-react-lite": "^3.3.0",
|
|
"qrcode.react": "^3.0.1",
|
|
"react": "^18.1.0",
|
|
"react-dnd": "^16.0.1",
|
|
"react-dnd-html5-backend": "^16.0.1",
|
|
"react-dnd-touch-backend": "^16.0.1",
|
|
"react-dom": "^18.1.0",
|
|
"styled-components": "^5.3.5"
|
|
},
|
|
"lint-staged": {
|
|
"app/**/*.{js,ts,jsx,tsx}": "eslint --cache --fix",
|
|
"app/**/*.{js,ts,jsx,tsx,css,md}": "prettier --write"
|
|
}
|
|
}
|