Skip to content

Commit 60db4ac

Browse files
authored
Added Yeoman generator (#342)
1 parent f0c9821 commit 60db4ac

File tree

16 files changed

+1534
-13
lines changed

16 files changed

+1534
-13
lines changed

packages/generator-sprotty/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
app/

packages/generator-sprotty/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Langium Package Generator
2+
3+
This [Yeoman](https://yeoman.io) generator is used to create a new Sprotty project.
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"name": "generator-sprotty",
3+
"version": "0.13.0",
4+
"description": "Yeoman generator for Sprotty",
5+
"engines": {
6+
"node": ">=14.0.0"
7+
},
8+
"keywords": [
9+
"yeoman-generator",
10+
"diagram"
11+
],
12+
"license": "(EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0)",
13+
"files": [
14+
"app",
15+
"sprotty-local-template",
16+
"src"
17+
],
18+
"main": "app/index.js",
19+
"types": "app/index.d.ts",
20+
"scripts": {
21+
"prepare": "yarn run clean && yarn run build",
22+
"clean": "rimraf app",
23+
"build": "tsc --skipLibCheck",
24+
"watch": "tsc --watch --skipLibCheck",
25+
"lint": "eslint src test --ext .ts",
26+
"run": "yo sprotty",
27+
"debug": "npx --node-arg=--inspect yo sprotty",
28+
"test:cli": "ts-mocha \"./src/**/*.spec.?(ts|tsx)\"",
29+
"test": "jenkins-mocha --config ../../configs/.mocharc.json \"./src/**/*.spec.?(ts|tsx)\""
30+
},
31+
"dependencies": {
32+
"chalk": "~4.1.2",
33+
"lodash": "~4.17.21",
34+
"which": "~2.0.2",
35+
"yeoman-generator": "~5.8.0"
36+
},
37+
"devDependencies": {
38+
"@types/lodash": "~4.14.191",
39+
"@types/which": "~2.0.1",
40+
"@types/yeoman-generator": "~5.2.11",
41+
"@types/yeoman-test": "~4.0.3",
42+
"yeoman-test": "~7.3.0",
43+
"rimraf": "4.1.2"
44+
},
45+
"volta": {
46+
"node": "16.19.0",
47+
"npm": "8.19.3"
48+
},
49+
"repository": {
50+
"type": "git",
51+
"url": "https://github.com/eclipse-sprotty/sprotty",
52+
"directory": "packages/generator-sprotty"
53+
},
54+
"author": {
55+
"name": "TypeFox",
56+
"url": "https://www.typefox.io"
57+
}
58+
}

0 commit comments

Comments
 (0)