Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
feat: script for building alva
Browse files Browse the repository at this point in the history
  • Loading branch information
Lasse Küchler committed Dec 14, 2017
1 parent 0f522b2 commit 05c1a98
Showing 1 changed file with 29 additions and 11 deletions.
40 changes: 29 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
{
"name": "meetalva",
"version": "0.1.0",
"description": "",
"main": "dist/electron/index.js",
"description":
"Alva is a radically new design tool that enables cross-functional teams to design digital products.",
"main": "./dist/electron/index.js",
"scripts": {
"build": "tslint --project . -c tslint.json 'src/**/*.ts' && tsc --project .",
"start": "npm run build && concurrently \"electron dist/electron\" \"tsc --project . --watch\"",
"start":
"npm run build && concurrently \"electron dist/electron\" \"tsc --project . --watch\"",
"build-lsg": "tsc --project src/lsg --outDir dist/lsg/patterns --sourceMap",
"start-lsg": "npm run build-lsg && concurrently \"npm run build-lsg -- -w\" \"patternplate start\""
"start-lsg":
"npm run build-lsg && concurrently \"npm run build-lsg -- -w\" \"patternplate start\"",
"copy-html": "cp src/electron/*.html dist/electron/",
"pack": "npm run copy-html && npm run build && electron-builder --dir",
"dist": "npm run copy-html && npm run build && electron-builder"
},
"repository": {
"type": "git",
Expand All @@ -24,6 +30,17 @@
"tabWidth": 3,
"singleQuote": true
},
"build": {
"appId": "io.github.meetalva",
"mac": {
"category": "public.app-category.graphics-design"
},
"files": ["dist/**/*", "package.json"],
"directories": {
"buildResources": "resources",
"output": "build"
}
},
"devDependencies": {
"@patternplate/cli": "^2.0.0-4",
"@patternplate/render-styled-components": "^2.0.0-3",
Expand All @@ -34,16 +51,15 @@
"@types/react-dom": "^16.0.3",
"concurrently": "^3.5.1",
"cz-conventional-changelog": "^2.1.0",
"electron-devtools-installer": "^2.2.1",
"mobx-react-devtools": "^4.2.15",
"electron": "^1.7.9",
"electron-builder": "^19.49.0",
"ts-config": "^15.0.0",
"tslib": "^1.8.0",
"tslint": "^5.8.0",
"typescript": "^2.6.2"
"tslint": "^5.8.0"
},
"dependencies": {
"cli": "^1.0.1",
"electron": "^1.7.9",
"electron-devtools-installer": "^2.2.1",
"mobx-react-devtools": "^4.2.15",
"js-yaml": "^3.10.0",
"mobx": "^3.3.2",
"mobx-react": "^4.3.5",
Expand All @@ -52,7 +68,9 @@
"react-router": "^4.2.0",
"readts": "^0.1.0",
"styled-components": "^2.2.3",
"systemjs": "^0.20.19"
"systemjs": "^0.20.19",
"tslib": "^1.8.0",
"typescript": "^2.6.2"
},
"homepage": "https://meetalva.github.io/",
"config": {
Expand Down

0 comments on commit 05c1a98

Please sign in to comment.