mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-31 04:49:05 +01:00
171 lines
5.3 KiB
JSON
171 lines
5.3 KiB
JSON
{
|
|
"name": "jsketcher",
|
|
"version": "0.1.0",
|
|
"main": "electron.js",
|
|
"private": true,
|
|
"description": "JS.Sketcher is a parametric 2D and 3D CAD modeler written in pure javascript",
|
|
"build": {
|
|
"appId": "jsketcher",
|
|
"linux": {
|
|
"category": "Utility",
|
|
"icon": "icon.png",
|
|
"target": [
|
|
"deb",
|
|
"appImage"
|
|
]
|
|
},
|
|
"deb": {
|
|
"depends": [
|
|
"gconf2",
|
|
"gconf-service",
|
|
"libnotify4",
|
|
"libappindicator1",
|
|
"libxtst6",
|
|
"libnss3"
|
|
]
|
|
},
|
|
"win": {
|
|
"icon": "icon.png"
|
|
},
|
|
"mac": {
|
|
"icon": "icon.icns",
|
|
"category": "public.app-category.utilities"
|
|
},
|
|
"files": [
|
|
"build/*",
|
|
"dev-guide",
|
|
"misc/*",
|
|
"modules/**/**/*",
|
|
"node_modules/**/**/*",
|
|
"public/*",
|
|
"test/**/**/*",
|
|
"web/**/**/*",
|
|
".babelrc",
|
|
".eslintrc.json",
|
|
".gitignore",
|
|
"externals.d.ts",
|
|
"Gruntfile.js",
|
|
"cypress.json",
|
|
"package.json",
|
|
"package-lock.json",
|
|
"tsconfig.json",
|
|
"electron.js",
|
|
"dist/**/*",
|
|
"webpack.config.js"
|
|
],
|
|
"extraMetadata": {
|
|
"main": "public/electron.js"
|
|
},
|
|
"directories": {
|
|
"buildResources": "build"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"start": "node ./node_modules/webpack-dev-server/bin/webpack-dev-server.js --config webpack.config.js --port 3000 --host 0.0.0.0",
|
|
"electron": "concurrently \"cross-env BROWSER=none yarn start\" \"wait-on http://localhost:3000 && electron .\"",
|
|
"pack": "node ./node_modules/webpack/bin/webpack.js --config webpack.config.js --progress --profile --colors",
|
|
"start-with-docs": "concurrently --kill-others 'npm start' './node_modules/grunt/bin/grunt docs-start'",
|
|
"build": "grunt",
|
|
"lint": "./node_modules/eslint/bin/eslint.js web/app modules",
|
|
"lint-fix": "./node_modules/eslint/bin/eslint.js --fix web/app modules",
|
|
"check-code": "./node_modules/typescript/bin/tsc --noEmit",
|
|
"checks-passed-banner": "echo 'All conditions passed. Ready to go to the main branch. Good job!'",
|
|
"before-main-branch-merge": "npm run lint && npm run check-code && npm run checks-passed-banner",
|
|
"cypress": "npx cypress open",
|
|
"electron:package:mac": "npm run build && electron-builder -m -c.extraMetadata.main=electron.js",
|
|
"electron:package:win": "npm run build && electron-builder -w -c.extraMetadata.main=electron.js",
|
|
"electron:package:linux": "npm run build && electron-builder -l -c.extraMetadata.main=electron.js"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/xibyte/jsketcher.git"
|
|
},
|
|
"keywords": [
|
|
"parametric",
|
|
"cad"
|
|
],
|
|
"author": "Val Erastov <xibyte@gmail.com> (http://github.com/xibyte)",
|
|
"license": "SEE LICENSE IN LICENSE",
|
|
"bugs": {
|
|
"url": "https://github.com/xibyte/jsketcher/issues"
|
|
},
|
|
"homepage": ".",
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.18.10",
|
|
"@babel/core": "^7.18.10",
|
|
"@babel/eslint-parser": "^7.18.9",
|
|
"@babel/eslint-plugin": "^7.18.9",
|
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
"@babel/plugin-proposal-decorators": "^7.18.10",
|
|
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
|
|
"@babel/plugin-proposal-optional-chaining": "^7.18.9",
|
|
"@babel/preset-env": "^7.18.10",
|
|
"@babel/preset-react": "^7.18.6",
|
|
"@babel/preset-stage-2": "^7.8.3",
|
|
"@babel/preset-typescript": "^7.18.6",
|
|
"@cypress/webpack-preprocessor": "^5.12.2",
|
|
"@types/react": "^16.9.34",
|
|
"@types/react-dom": "^16.9.7",
|
|
"@typescript-eslint/eslint-plugin": "^5.33.0",
|
|
"@typescript-eslint/parser": "^5.33.0",
|
|
"babel-loader": "^8.2.5",
|
|
"babel-plugin-transform-decorators-legacy": "^1.3.5",
|
|
"babel-polyfill": "^6.26.0",
|
|
"buffer": "^6.0.3",
|
|
"concurrently": "^7.3.0",
|
|
"cross-env": "^7.0.3",
|
|
"css-loader": "^3.4.2",
|
|
"cypress": "^4.7.0",
|
|
"cypress-wait-until": "^1.7.1",
|
|
"del": "^6.0.0",
|
|
"electron": "^21.3.1",
|
|
"electron-builder": "^22.10.3",
|
|
"eslint": "^8.22.0",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"file-loader": "^6.2.0",
|
|
"glob": "^8.0.3",
|
|
"grunt": "^1.1.0",
|
|
"grunt-contrib-copy": "1.0.0",
|
|
"grunt-contrib-watch": "^1.1.0",
|
|
"handlebars": "^4.7.7",
|
|
"less-loader": "^11.0.0",
|
|
"less-vars-loader": "^1.1.0",
|
|
"raw-loader": "^4.0.0",
|
|
"style-loader": "^1.1.3",
|
|
"typescript": "^4.7.4",
|
|
"url-loader": "^4.1.1",
|
|
"wait-on": "^6.0.1",
|
|
"webpack": "^5.74.0",
|
|
"webpack-cli": "^4.10.0",
|
|
"webpack-dev-server": "^4.10.0"
|
|
},
|
|
"dependencies": {
|
|
"@tarikjabiri/dxf": "^2.3.2",
|
|
"@types/three": "^0.143.0",
|
|
"browser-xml2js": "^0.4.19",
|
|
"classnames": "2.2.5",
|
|
"clipper-lib": "6.2.1",
|
|
"earcut": "2.1.1",
|
|
"font-awesome": "4.7.0",
|
|
"immer": "^9.0.12",
|
|
"jsketcher-occ-engine": "1.0.1-2fbef9cdf8e1167a4142c396f9abda510a2d2d26",
|
|
"jszip": "^3.10.0",
|
|
"less": "^3.11.1",
|
|
"libtess": "1.2.2",
|
|
"lodash": "^4.17.15",
|
|
"marked": "^4.0.18",
|
|
"mousetrap": "1.6.1",
|
|
"numeric": "1.2.6",
|
|
"path": "^0.12.7",
|
|
"prop-types": "^15.8.1",
|
|
"react": "^16.13.1",
|
|
"react-color": "^2.19.3",
|
|
"react-dom": "^16.13.1",
|
|
"react-icons": "^4.4.0",
|
|
"react-toastify": "^5.5.0",
|
|
"sprintf": "0.1.5",
|
|
"three": "^0.143.0",
|
|
"url": "^0.11.0"
|
|
},
|
|
"proxy": "http://localhost:3000"
|
|
}
|