refactor: repo (#1070)
This commit is contained in:
106
package.json
106
package.json
@@ -1,94 +1,30 @@
|
||||
{
|
||||
"name": "standard-notes-web",
|
||||
"version": "3.20.4",
|
||||
"license": "AGPL-3.0-or-later",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/standardnotes/web"
|
||||
"name": "@standardnotes/app-monorepo",
|
||||
"private": true,
|
||||
"author": "Standard Notes",
|
||||
"workspaces": [
|
||||
"packages/*"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=12.19.0 <17.0.0"
|
||||
},
|
||||
"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 --coverage",
|
||||
"prepare": "husky install",
|
||||
"postinstall": "yarn run ncu -loglevel verbose --packageFile package.json",
|
||||
"upgrade:snjs": "ncu -u '@standardnotes/*' && yarn"
|
||||
"bootstrap": "lerna bootstrap",
|
||||
"prebuild": "cp -r node_modules/@standardnotes/components/dist/ packages/web-server/public/components/",
|
||||
"lint": "lerna run lint --parallel",
|
||||
"test": "lerna run test --parallel",
|
||||
"clean": "lerna run clean",
|
||||
"build": "lerna run build",
|
||||
"start:web": "lerna run start --scope=@standardnotes/web-server",
|
||||
"start:web:localhost": "lerna run start:no-binding --scope=@standardnotes/web-server",
|
||||
"prepare": "husky install"
|
||||
},
|
||||
"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.3",
|
||||
"@types/jest": "^27.4.1",
|
||||
"@types/react": "^17.0.42",
|
||||
"@types/react-dom": "^18.0.5",
|
||||
"@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",
|
||||
"circular-dependency-plugin": "^5.2.2",
|
||||
"css-loader": "^6.7.1",
|
||||
"dotenv": "^16.0.0",
|
||||
"@types/node": "^17.0.21",
|
||||
"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"
|
||||
"lerna": "^3.22.1",
|
||||
"@standardnotes/config": "^2.4.3"
|
||||
},
|
||||
"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.8.3",
|
||||
"@standardnotes/filepicker": "1.16.11",
|
||||
"@standardnotes/icons": "^1.1.8",
|
||||
"@standardnotes/sncrypto-web": "1.10.1",
|
||||
"@standardnotes/snjs": "^2.115.6",
|
||||
"@standardnotes/stylekit": "5.29.3",
|
||||
"@standardnotes/services": "^1.13.11",
|
||||
"@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"
|
||||
},
|
||||
"lint-staged": {
|
||||
"app/**/*.{js,ts,jsx,tsx}": "eslint --cache --fix",
|
||||
"app/**/*.{js,ts,jsx,tsx,css,md}": "prettier --write"
|
||||
}
|
||||
"dependencies": {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user