Files
standardnotes-app-web/packages/web/package.json
2022-11-04 08:02:10 -05:00

104 lines
3.8 KiB
JSON

{
"name": "@standardnotes/web",
"version": "3.93.7",
"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": "NODE_OPTIONS=\"--max-old-space-size=4096\" eslint src/javascripts",
"lint:fix": "NODE_OPTIONS=\"--max-old-space-size=4096\" eslint src/javascripts --fix",
"start": "webpack-dev-server --config web.webpack.dev.js",
"start-secure": "yarn start --server-type https",
"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-proposal-class-properties": "^7.18.6",
"@babel/plugin-transform-react-jsx": "^7.19.0",
"@babel/preset-env": "*",
"@babel/preset-typescript": "^7.18.6",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.7",
"@reach/alert": "^0.17.0",
"@reach/alert-dialog": "^0.17.0",
"@reach/checkbox": "^0.17.0",
"@reach/dialog": "^0.17.0",
"@reach/disclosure": "^0.17.0",
"@reach/listbox": "^0.17.0",
"@reach/tooltip": "^0.17.0",
"@reach/visually-hidden": "^0.17.0",
"@standardnotes/components-meta": "workspace:*",
"@standardnotes/filepicker": "workspace:*",
"@standardnotes/icons": "workspace:*",
"@standardnotes/sncrypto-web": "workspace:*",
"@standardnotes/snjs": "workspace:*",
"@standardnotes/styles": "workspace:*",
"@standardnotes/toast": "workspace:*",
"@standardnotes/ui-services": "workspace:^",
"@types/jest": "^29.2.0",
"@types/react": "^18.0.20",
"@types/react-dom": "^18.0.6",
"@types/styled-components": "^5.1.26",
"@types/wicg-file-system-access": "^2020.9.5",
"@zip.js/zip.js": "^2.6.26",
"autoprefixer": "^10.4.10",
"babel-loader": "^8.2.5",
"circular-dependency-plugin": "^5.2.2",
"copy-webpack-plugin": "^11.0.0",
"css-loader": "*",
"dayjs": "^1.11.5",
"dotenv": "^16.0.2",
"eslint": "^8.23.1",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-react": "^7.31.8",
"eslint-plugin-react-hooks": "^4.6.0",
"html-webpack-plugin": "^5.5.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.2.1",
"jest-environment-jsdom": "^29.2.1",
"lint-staged": ">=12",
"mini-css-extract-plugin": "^2.6.1",
"mobx": "^6.6.2",
"mobx-react-lite": "^3.4.0",
"node-sass": "*",
"npm-check-updates": "*",
"postcss": "^8.4.16",
"postcss-loader": "^7.0.1",
"prettier": "*",
"prettier-plugin-tailwindcss": "^0.1.13",
"qrcode.react": "^3.1.0",
"react": "^18.2.0",
"react-dnd": "^16.0.1",
"react-dnd-html5-backend": "^16.0.1",
"react-dnd-touch-backend": "^16.0.1",
"react-dom": "^18.2.0",
"react-refresh": "^0.14.0",
"sass-loader": "*",
"styled-components": "^5.3.5",
"svg-jest": "^1.0.1",
"tailwindcss": "^3.1.8",
"ts-jest": "^29.0.3",
"ts-loader": "^9.4.1",
"typescript": "*",
"webpack": "*",
"webpack-dev-server": "*",
"webpack-merge": "^5.8.0"
},
"lint-staged": {
"app/**/*.{js,ts,jsx,tsx}": "eslint --cache --fix",
"app/**/*.{js,ts,jsx,tsx,css,md}": "prettier --write"
}
}