91 lines
3.3 KiB
JSON
91 lines
3.3 KiB
JSON
{
|
|
"name": "standard-notes-web",
|
|
"version": "3.15.0",
|
|
"license": "AGPL-3.0-or-later",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/standardnotes/web"
|
|
},
|
|
"scripts": {
|
|
"start": "webpack-dev-server --config webpack.dev.js",
|
|
"watch": "webpack -w --config webpack.dev.js",
|
|
"watch:desktop": "webpack -w --config webpack.dev.js --env platform='desktop'",
|
|
"bundle": "webpack --config webpack.prod.js && cp -r node_modules/@standardnotes/components/dist/ public/components && yarn tsc",
|
|
"bundle:desktop": "webpack --config webpack.prod.js --env platform='desktop'",
|
|
"bundle:desktop:beta": "webpack --config webpack.prod.js --env platform='desktop' --env public_beta='true'",
|
|
"setup": "bundle install && yarn install --frozen-lockfile && bundle exec rails assets:precompile && yarn bundle",
|
|
"lint": "eslint --fix app/assets/javascripts",
|
|
"tsc": "tsc --project app/assets/javascripts/tsconfig.json",
|
|
"test": "jest --config app/assets/javascripts/jest.config.js",
|
|
"test:coverage": "yarn test --coverage",
|
|
"prepare": "husky install",
|
|
"postinstall": "yarn run ncu -loglevel verbose --packageFile package.json"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.17.9",
|
|
"@babel/plugin-transform-react-jsx": "^7.17.3",
|
|
"@babel/preset-env": "^7.16.11",
|
|
"@babel/preset-typescript": "^7.16.7",
|
|
"@standardnotes/config": "^2.4.1",
|
|
"@svgr/webpack": "^6.2.1",
|
|
"@types/jest": "^27.4.1",
|
|
"@types/react": "^17.0.42",
|
|
"@types/wicg-file-system-access": "^2020.9.5",
|
|
"@typescript-eslint/eslint-plugin": "^5.20.0",
|
|
"@typescript-eslint/parser": "^5.20.0",
|
|
"babel-loader": "^8.2.5",
|
|
"css-loader": "^6.7.1",
|
|
"dotenv": "^16.0.0",
|
|
"eslint": "^8.13.0",
|
|
"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",
|
|
"husky": "^7.0.4",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"jest": "^27.5.1",
|
|
"lint-staged": ">=12",
|
|
"mini-css-extract-plugin": "^2.6.0",
|
|
"node-sass": "^7.0.1",
|
|
"npm-check-updates": "^12.5.9",
|
|
"prettier": "^2.6.2",
|
|
"sass-loader": "^12.6.0",
|
|
"svg-jest": "^1.0.1",
|
|
"ts-jest": "^27.1.4",
|
|
"ts-loader": "^9.2.8",
|
|
"typescript": "4.6.3",
|
|
"typescript-eslint": "0.0.1-alpha.0",
|
|
"webpack": "^5.72.0",
|
|
"webpack-cli": "^4.9.2",
|
|
"webpack-dev-server": "^4.8.1",
|
|
"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": "1.7.15",
|
|
"@standardnotes/filepicker": "1.13.3",
|
|
"@standardnotes/sncrypto-web": "1.8.4",
|
|
"@standardnotes/snjs": "2.100.0",
|
|
"@standardnotes/stylekit": "5.23.0",
|
|
"@zip.js/zip.js": "^2.4.10",
|
|
"mobx": "^6.5.0",
|
|
"mobx-react-lite": "^3.3.0",
|
|
"preact": "^10.7.1",
|
|
"qrcode.react": "^3.0.1",
|
|
"react-dnd": "^16.0.1",
|
|
"react-dnd-html5-backend": "^16.0.1",
|
|
"react-dnd-touch-backend": "^16.0.1"
|
|
},
|
|
"lint-staged": {
|
|
"app/**/*.{js,ts,jsx,tsx}": "eslint --cache --fix",
|
|
"app/**/*.{js,ts,jsx,tsx,css,md}": "prettier --write"
|
|
}
|
|
}
|