Project templates (#295)
Moved default projects from pxtarget.json to libs/templates/
This commit is contained in:
committed by
GitHub
parent
7936517a03
commit
f045942297
0
libs/templates/tsprj/README.md
Normal file
0
libs/templates/tsprj/README.md
Normal file
7
libs/templates/tsprj/main.ts
Normal file
7
libs/templates/tsprj/main.ts
Normal file
@ -0,0 +1,7 @@
|
||||
basic.showLeds(`
|
||||
. . . . .
|
||||
. # . # .
|
||||
. . . . .
|
||||
# . . . #
|
||||
. # # # .
|
||||
`);
|
12
libs/templates/tsprj/pxt.json
Normal file
12
libs/templates/tsprj/pxt.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"name": "{0} bit",
|
||||
"dependencies": {
|
||||
"core": "*",
|
||||
"radio": "*"
|
||||
},
|
||||
"description": "",
|
||||
"files": [
|
||||
"main.ts",
|
||||
"README.md"
|
||||
]
|
||||
}
|
8
libs/templates/tsprj/tsconfig.json
Normal file
8
libs/templates/tsprj/tsconfig.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "es5",
|
||||
"noImplicitAny": true,
|
||||
"outDir": "built",
|
||||
"rootDir": "."
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user