mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-07 21:47:02 +09:00
564 lines
15 KiB
JSON
564 lines
15 KiB
JSON
{
|
|
"name": "anytype2",
|
|
"version": "0.21.18-alpha",
|
|
"description": "Anytype",
|
|
"main": "electron.js",
|
|
"scripts": {
|
|
"lint": "tslint -c tslint.json -p tsconfig.json",
|
|
"electron": "npx electron .",
|
|
"electron-win": "npx electron.cmd .",
|
|
"update:addon": "./update.sh",
|
|
"start:watch": "cross-env-shell webpack-dev-server --progress --mode=development --env.NODE_ENV=development --env.SERVER_PORT=$SERVER_PORT --env.DATA_PATH=$DATA_PATH --history-api-fallback --cache",
|
|
"start:electron-wait-webpack": "cross-env-shell wait-for-localhost $SERVER_PORT && npm run electron",
|
|
"start:electron-wait-webpack-win": "cross-env-shell wait-for-localhost $SERVER_PORT && npm run electron-win",
|
|
"start:dev": "npm-run-all --parallel start:watch start:electron-wait-webpack",
|
|
"start:dev-win": "npm-run-all --parallel start:watch start:electron-wait-webpack-win",
|
|
"start:dev-addon": "ANYTYPE_USE_ADDON=1 npm-run-all start:dev",
|
|
"build": "webpack --mode=production --env.NODE_ENV=production -p --config webpack.config.js",
|
|
"build:deps": "webpack --config webpack.node.config.js --display-modules --display-cached | grep \"node_modules\" | sed 's/.*\\(node_modules\\/[^\\/]*\\).*/\\1/' | uniq | node save-node-deps.js",
|
|
"dist:mac": "webpack --mode=production --env.NODE_ENV=production -p && DATE=`date '+%Y-%m-%d_%H_%M'` GIT_COMMIT=`git rev-parse --short HEAD` electron-builder --macos --arm64 --x64",
|
|
"dist:win": "webpack --mode=production --env.NODE_ENV=production -p && DATE=`date '+%Y-%m-%d_%H_%M'` GIT_COMMIT=`git rev-parse --short HEAD` electron-builder --windows",
|
|
"dist:linux": "webpack --mode=production --env.NODE_ENV=production -p && DATE=`date '+%Y-%m-%d_%H_%M'` GIT_COMMIT=`git rev-parse --short HEAD` electron-builder --linux",
|
|
"publish:mac": "webpack --mode=production --env.NODE_ENV=production -p && DATE=`date '+%Y-%m-%d_%H_%M'` GIT_COMMIT=`git rev-parse --short HEAD` BUILD_NUMBER=`git rev-parse --short HEAD` electron-builder --macos --publish always",
|
|
"publish:linux": "webpack --mode=production --env.NODE_ENV=production -p && DATE=`date '+%Y-%m-%d_%H_%M'` GIT_COMMIT=`git rev-parse --short HEAD` BUILD_NUMBER=`git rev-parse --short HEAD` electron-builder --linux --publish always",
|
|
"publish:win": "webpack --mode=production --env.NODE_ENV=production -p && DATE=`date '+%Y-%m-%d_%H_%M'` GIT_COMMIT=`git rev-parse --short HEAD` BUILD_NUMBER=`git rev-parse --short HEAD` electron-builder --windows --publish always",
|
|
"postinstall": "patch-package"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/anytypeio/js-anytype.git"
|
|
},
|
|
"author": {
|
|
"name": "Anytype",
|
|
"email": "info@anytype.io"
|
|
},
|
|
"license": "",
|
|
"bugs": {
|
|
"url": "https://github.com/anytypeio/js-anytype/issues"
|
|
},
|
|
"homepage": "https://anytype.io",
|
|
"devDependencies": {
|
|
"@babel/core": "^7.11.6",
|
|
"@types/history": "^4.7.8",
|
|
"@types/i18n": "^0.8.7",
|
|
"@types/is": "0.0.21",
|
|
"@types/jquery": "^3.5.1",
|
|
"@types/lodash": "^4.14.165",
|
|
"@types/long": "^4.0.1",
|
|
"@types/mobx-devtools-mst": "^0.9.7",
|
|
"@types/node": "^12.19.4",
|
|
"@types/prismjs": "^1.16.1",
|
|
"@types/react": "^16.9.56",
|
|
"@types/react-beautiful-dnd": "^11.0.5",
|
|
"@types/react-dnd": "^3.0.2",
|
|
"@types/react-dnd-html5-backend": "^3.0.2",
|
|
"@types/react-dom": "^16.9.8",
|
|
"@types/react-router-dom": "^4.3.5",
|
|
"babel-loader": "^8.2.1",
|
|
"babel-preset-env": "^1.7.0",
|
|
"electron": "^16.0.4",
|
|
"electron-builder": "^22.9.1",
|
|
"electron-notarize": "^0.2.1",
|
|
"git-revision-webpack-plugin": "^3.0.6",
|
|
"ifdef-loader": "^2.1.5",
|
|
"json-loader": "^0.5.7",
|
|
"sass-loader": "^8.0.2",
|
|
"style-loader": "^1.2.1",
|
|
"ts-loader": "^6.2.2",
|
|
"tslint": "^5.20.1",
|
|
"tslint-react": "^4.2.0",
|
|
"uglifyjs-webpack-plugin": "^2.2.0",
|
|
"url-loader": "^2.3.0",
|
|
"wait-for-localhost-cli": "^1.1.0",
|
|
"webpack": "^4.44.2",
|
|
"webpack-cli": "^3.3.12",
|
|
"webpack-dev-server": "^3.11.0"
|
|
},
|
|
"dependencies": {
|
|
"@electron/remote": "^2.0.1",
|
|
"@sentry/browser": "^5.27.4",
|
|
"@types/bindings": "^1.3.0",
|
|
"3d-force-graph": "^1.70.5",
|
|
"amplitude-js": "^5.11.0",
|
|
"array-move": "^2.2.2",
|
|
"babel-plugin-prismjs": "^2.0.1",
|
|
"bindings": "^1.5.0",
|
|
"blueimp-load-image": "^2.31.0",
|
|
"bytebuffer": "^5.0.1",
|
|
"canvas-fill-text-on-arc": "^1.0.4",
|
|
"cross-env": "^7.0.2",
|
|
"css-loader": "^3.6.0",
|
|
"d3": "^7.0.1",
|
|
"d3-force": "^3.0.0",
|
|
"d3-graphviz": "^4.0.0",
|
|
"electron-devtools-installer": "^3.1.1",
|
|
"electron-dl": "^1.14.0",
|
|
"electron-is-dev": "^2.0.0",
|
|
"electron-json-storage": "^4.3.0",
|
|
"electron-log": "^3.0.9",
|
|
"electron-updater": "^4.3.7",
|
|
"electron-util": "^0.12.3",
|
|
"electron-window-state": "^5.0.3",
|
|
"emoji-mart": "^2.11.2",
|
|
"escape-string-regexp": "^4.0.0",
|
|
"file-loader": "^4.3.0",
|
|
"file-type": "^12.4.2",
|
|
"findandreplacedomtext": "^0.4.6",
|
|
"flexsearch": "^0.6.32",
|
|
"fs": "0.0.1-security",
|
|
"get-input-selection": "^1.1.4",
|
|
"google-protobuf": "^3.14.0",
|
|
"graphlib-dot": "^0.6.4",
|
|
"grpc-web": "^1.2.1",
|
|
"highlight.js": "^10.2.1",
|
|
"history": "^4.10.1",
|
|
"inputmask": "^5.0.5",
|
|
"install": "^0.13.0",
|
|
"is": "^3.3.0",
|
|
"jquery": "^3.5.1",
|
|
"katex": "^0.13.13",
|
|
"keytar": "^7.7.0",
|
|
"latex.js": "^0.12.4",
|
|
"lazy-val": "^1.0.4",
|
|
"linebyline": "^1.3.0",
|
|
"lodash": "^4.17.20",
|
|
"lodash.isequal": "^4.5.0",
|
|
"lowlight": "^1.15.0",
|
|
"mathjax": "^3.2.0",
|
|
"mathjax-electron": "^3.0.0",
|
|
"mem": "^6.1.1",
|
|
"mobx": "^6.3.2",
|
|
"mobx-decorators": "^6.0.1",
|
|
"mobx-devtools-mst": "^0.9.26",
|
|
"mobx-logger": "^0.7.1",
|
|
"mobx-react": "^6.3.1",
|
|
"mobx-state-tree": "^3.17.2",
|
|
"node-loader": "^1.0.2",
|
|
"npm": "^7.19.1",
|
|
"npm-run-all": "^4.1.5",
|
|
"object-assign": "^4.1.1",
|
|
"os": "^0.1.1",
|
|
"patch-package": "^6.4.7",
|
|
"pdfjs-dist": "^2.10.377",
|
|
"portfinder-sync": "0.0.2",
|
|
"prismjs": "^1.21.0",
|
|
"protobufjs": "^6.10.1",
|
|
"qrcode.react": "^1.0.1",
|
|
"raf": "^3.4.1",
|
|
"react": "^16.13.1",
|
|
"react-addons-shallow-compare": "^15.6.2",
|
|
"react-beautiful-dnd": "^13.0.0",
|
|
"react-dom": "^16.13.1",
|
|
"react-draggable-tags": "^1.0.2",
|
|
"react-hot-loader": "^4.13.0",
|
|
"react-katex": "^2.0.2",
|
|
"react-latex-next": "^2.1.0",
|
|
"react-pdf": "^5.4.0",
|
|
"react-router-dom": "^5.2.0",
|
|
"react-sortable-hoc": "^1.11.0",
|
|
"react-virtualized": "^9.22.3",
|
|
"read-chunk": "^3.2.0",
|
|
"readline": "^1.3.0",
|
|
"rehype": "^9.0.1",
|
|
"runes": "^0.4.3",
|
|
"sass": "^1.38.2",
|
|
"selection-ranges": "^3.0.3",
|
|
"sentry": "^0.1.2",
|
|
"sha1": "^1.1.1",
|
|
"source-map-loader": "^0.2.4",
|
|
"sprintf-kit": "^2.0.0",
|
|
"typescript": "^3.9.7",
|
|
"uuid": "^8.3.0",
|
|
"webpack-bundle-analyzer": "^3.9.0",
|
|
"xhr2": "^0.2.0",
|
|
"xmlhttprequest": "^1.8.0",
|
|
"xtend": "^4.0.2"
|
|
},
|
|
"build": {
|
|
"generateUpdatesFilesForAllChannels": true,
|
|
"beforeBuild": "./electron/beforebuild.js",
|
|
"afterSign": "./electron/notarize.js",
|
|
"afterPack": "./electron/afterpack.js",
|
|
"appId": "com.anytype.anytype2",
|
|
"compression": "normal",
|
|
"productName": "Anytype",
|
|
"protocols": [
|
|
{
|
|
"name": "Anytype",
|
|
"role": "Editor",
|
|
"schemes": [
|
|
"anytype"
|
|
]
|
|
}
|
|
],
|
|
"asarUnpack": [
|
|
"dist/main.js",
|
|
"dist/index.html",
|
|
"dist/run.js",
|
|
"dist/lib",
|
|
"dist/anytypeHelper",
|
|
"dist/anytypeHelper.exe",
|
|
"dist/workers/**/*",
|
|
"dist/*.node",
|
|
"dist/img/**/*",
|
|
"dist/css/**/*",
|
|
"electron/icon*",
|
|
"electron/about.css",
|
|
"electron/about.html",
|
|
"electron/common.js",
|
|
"electron/about.js",
|
|
"build",
|
|
"node_modules/keytar/build/Release/keytar.node",
|
|
"node_modules/lodash.isequal"
|
|
],
|
|
"extraResources": [],
|
|
"files": [
|
|
"electron.js",
|
|
"electron/server.js",
|
|
"electron/util.js",
|
|
"electron/env.json",
|
|
"electron/icon*",
|
|
"electron/about.css",
|
|
"electron/about.html",
|
|
"electron/about.js",
|
|
"electron/common.js",
|
|
"build",
|
|
"!dist/*",
|
|
"dist/index.html",
|
|
"dist/main.js",
|
|
"dist/run.js",
|
|
"dist/lib/**/*",
|
|
"dist/img/**/*",
|
|
"dist/css/**/*",
|
|
"dist/anytypeHelper.exe",
|
|
"dist/anytypeHelper",
|
|
"dist/*.node",
|
|
"dist/workers/**/*",
|
|
"!node_modules/**/*",
|
|
"node_modules/google-protobuf",
|
|
"node_modules/grpc-web",
|
|
{
|
|
"from": "node_modules/lodash.isequal",
|
|
"to": "node_modules/lodash.isequal"
|
|
},
|
|
{
|
|
"from": "node_modules/lodash.escaperegexp",
|
|
"to": "node_modules/lodash.escaperegexp"
|
|
},
|
|
{
|
|
"from": "node_modules/@electron",
|
|
"to": "node_modules/@electron"
|
|
},
|
|
{
|
|
"from": "node_modules/async",
|
|
"to": "node_modules/async"
|
|
},
|
|
{
|
|
"from": "node_modules/balanced-match",
|
|
"to": "node_modules/balanced-match"
|
|
},
|
|
{
|
|
"from": "node_modules/bindings",
|
|
"to": "node_modules/bindings"
|
|
},
|
|
{
|
|
"from": "node_modules/brace-expansion",
|
|
"to": "node_modules/brace-expansion"
|
|
},
|
|
{
|
|
"from": "node_modules/builder-util-runtime",
|
|
"to": "node_modules/builder-util-runtime"
|
|
},
|
|
{
|
|
"from": "node_modules/concat-map",
|
|
"to": "node_modules/concat-map"
|
|
},
|
|
{
|
|
"from": "node_modules/debug",
|
|
"to": "node_modules/debug"
|
|
},
|
|
{
|
|
"from": "node_modules/electron",
|
|
"to": "node_modules/electron"
|
|
},
|
|
{
|
|
"from": "node_modules/electron-dl",
|
|
"to": "node_modules/electron-dl"
|
|
},
|
|
{
|
|
"from": "node_modules/electron-is-dev",
|
|
"to": "node_modules/electron-is-dev"
|
|
},
|
|
{
|
|
"from": "node_modules/electron-json-storage",
|
|
"to": "node_modules/electron-json-storage"
|
|
},
|
|
{
|
|
"from": "node_modules/electron-log",
|
|
"to": "node_modules/electron-log"
|
|
},
|
|
{
|
|
"from": "node_modules/electron-updater",
|
|
"to": "node_modules/electron-updater"
|
|
},
|
|
{
|
|
"from": "node_modules/electron-util",
|
|
"to": "node_modules/electron-util"
|
|
},
|
|
{
|
|
"from": "node_modules/electron-window-state",
|
|
"to": "node_modules/electron-window-state"
|
|
},
|
|
{
|
|
"from": "node_modules/ext-list",
|
|
"to": "node_modules/ext-list"
|
|
},
|
|
{
|
|
"from": "node_modules/ext-name",
|
|
"to": "node_modules/ext-name"
|
|
},
|
|
{
|
|
"from": "node_modules/file-type",
|
|
"to": "node_modules/file-type"
|
|
},
|
|
{
|
|
"from": "node_modules/file-uri-to-path",
|
|
"to": "node_modules/file-uri-to-path"
|
|
},
|
|
{
|
|
"from": "node_modules/fs-extra",
|
|
"to": "node_modules/fs-extra"
|
|
},
|
|
{
|
|
"from": "node_modules/fs.realpath",
|
|
"to": "node_modules/fs.realpath"
|
|
},
|
|
{
|
|
"from": "node_modules/glob",
|
|
"to": "node_modules/glob"
|
|
},
|
|
{
|
|
"from": "node_modules/graceful-fs",
|
|
"to": "node_modules/graceful-fs"
|
|
},
|
|
{
|
|
"from": "node_modules/has-flag",
|
|
"to": "node_modules/has-flag"
|
|
},
|
|
{
|
|
"from": "node_modules/imurmurhash",
|
|
"to": "node_modules/imurmurhash"
|
|
},
|
|
{
|
|
"from": "node_modules/inflight",
|
|
"to": "node_modules/inflight"
|
|
},
|
|
{
|
|
"from": "node_modules/inherits",
|
|
"to": "node_modules/inherits"
|
|
},
|
|
{
|
|
"from": "node_modules/is-plain-obj",
|
|
"to": "node_modules/is-plain-obj"
|
|
},
|
|
{
|
|
"from": "node_modules/js-yaml",
|
|
"to": "node_modules/js-yaml"
|
|
},
|
|
{
|
|
"from": "node_modules/jsonfile",
|
|
"to": "node_modules/jsonfile"
|
|
},
|
|
{
|
|
"from": "node_modules/keytar",
|
|
"to": "node_modules/keytar"
|
|
},
|
|
{
|
|
"from": "node_modules/lazy-val",
|
|
"to": "node_modules/lazy-val"
|
|
},
|
|
{
|
|
"from": "node_modules/lockfile",
|
|
"to": "node_modules/lockfile"
|
|
},
|
|
{
|
|
"from": "node_modules/lodash",
|
|
"to": "node_modules/lodash"
|
|
},
|
|
{
|
|
"from": "node_modules/lodash.escaperegexp",
|
|
"to": "node_modules/lodash.escaperegexp"
|
|
},
|
|
{
|
|
"from": "node_modules/lodash.isequal",
|
|
"to": "node_modules/lodash.isequal"
|
|
},
|
|
{
|
|
"from": "node_modules/lru-cache",
|
|
"to": "node_modules/lru-cache"
|
|
},
|
|
{
|
|
"from": "node_modules/mime-db",
|
|
"to": "node_modules/mime-db"
|
|
},
|
|
{
|
|
"from": "node_modules/minimatch",
|
|
"to": "node_modules/minimatch"
|
|
},
|
|
{
|
|
"from": "node_modules/mkdirp",
|
|
"to": "node_modules/mkdirp"
|
|
},
|
|
{
|
|
"from": "node_modules/modify-filename",
|
|
"to": "node_modules/modify-filename"
|
|
},
|
|
{
|
|
"from": "node_modules/ms",
|
|
"to": "node_modules/ms"
|
|
},
|
|
{
|
|
"from": "node_modules/new-github-issue-url",
|
|
"to": "node_modules/new-github-issue-url"
|
|
},
|
|
{
|
|
"from": "node_modules/once",
|
|
"to": "node_modules/once"
|
|
},
|
|
{
|
|
"from": "node_modules/p-finally",
|
|
"to": "node_modules/p-finally"
|
|
},
|
|
{
|
|
"from": "node_modules/p-try",
|
|
"to": "node_modules/p-try"
|
|
},
|
|
{
|
|
"from": "node_modules/path-exists",
|
|
"to": "node_modules/path-exists"
|
|
},
|
|
{
|
|
"from": "node_modules/path-is-absolute",
|
|
"to": "node_modules/path-is-absolute"
|
|
},
|
|
{
|
|
"from": "node_modules/pify",
|
|
"to": "node_modules/pify"
|
|
},
|
|
{
|
|
"from": "node_modules/pupa",
|
|
"to": "node_modules/pupa"
|
|
},
|
|
{
|
|
"from": "node_modules/read-chunk",
|
|
"to": "node_modules/read-chunk"
|
|
},
|
|
{
|
|
"from": "node_modules/rimraf",
|
|
"to": "node_modules/rimraf"
|
|
},
|
|
{
|
|
"from": "node_modules/sax",
|
|
"to": "node_modules/sax"
|
|
},
|
|
{
|
|
"from": "node_modules/semver",
|
|
"to": "node_modules/semver"
|
|
},
|
|
{
|
|
"from": "node_modules/signal-exit",
|
|
"to": "node_modules/signal-exit"
|
|
},
|
|
{
|
|
"from": "node_modules/sort-keys",
|
|
"to": "node_modules/sort-keys"
|
|
},
|
|
{
|
|
"from": "node_modules/sort-keys-length",
|
|
"to": "node_modules/sort-keys-length"
|
|
},
|
|
{
|
|
"from": "node_modules/supports-color",
|
|
"to": "node_modules/supports-color"
|
|
},
|
|
{
|
|
"from": "node_modules/universalify",
|
|
"to": "node_modules/universalify"
|
|
},
|
|
{
|
|
"from": "node_modules/unused-filename",
|
|
"to": "node_modules/unused-filename"
|
|
},
|
|
{
|
|
"from": "node_modules/with-open-file",
|
|
"to": "node_modules/with-open-file"
|
|
},
|
|
{
|
|
"from": "node_modules/wrappy",
|
|
"to": "node_modules/wrappy"
|
|
},
|
|
{
|
|
"from": "node_modules/write-file-atomic",
|
|
"to": "node_modules/write-file-atomic"
|
|
},
|
|
{
|
|
"from": "node_modules/yallist",
|
|
"to": "node_modules/yallist"
|
|
}
|
|
],
|
|
"dmg": {
|
|
"sign": false
|
|
},
|
|
"mac": {
|
|
"icon": "electron/icon.icns",
|
|
"type": "distribution",
|
|
"hardenedRuntime": true,
|
|
"gatekeeperAssess": false,
|
|
"entitlements": "electron/entitlements.mac.plist",
|
|
"entitlementsInherit": "electron/entitlements.mac.plist",
|
|
"target": [
|
|
"zip",
|
|
"dmg"
|
|
],
|
|
"identity": "6SFR4648FW",
|
|
"category": "public.app-category.productivity",
|
|
"artifactName": "${productName}-${version}-${os}-${arch}.${ext}",
|
|
"publish": [
|
|
{
|
|
"provider": "spaces",
|
|
"name": "at9412003",
|
|
"region": "fra1"
|
|
}
|
|
]
|
|
},
|
|
"win": {
|
|
"target": "nsis",
|
|
"icon": "electron/icon.ico",
|
|
"publish": [
|
|
{
|
|
"provider": "spaces",
|
|
"name": "at9412003",
|
|
"region": "fra1"
|
|
}
|
|
]
|
|
},
|
|
"linux": {
|
|
"icon": "electron/icon512x512.png",
|
|
"category": "Utility",
|
|
"target": [
|
|
"snap",
|
|
"AppImage",
|
|
"deb",
|
|
"rpm"
|
|
],
|
|
"description": "Anytype",
|
|
"publish": [
|
|
{
|
|
"provider": "spaces",
|
|
"name": "at9412003",
|
|
"region": "fra1"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|