Skip to content

Instantly share code, notes, and snippets.

@pivanov
Last active March 9, 2018 22:06
Show Gist options
  • Save pivanov/64083d596ce711575ff85b5568cdf540 to your computer and use it in GitHub Desktop.
Save pivanov/64083d596ce711575ff85b5568cdf540 to your computer and use it in GitHub Desktop.
[Typescript] - Parse Server Cloud Code
cloud
- src
- tsconfig.json
public
- css
- index.html
.gitignore
index.js
package.json
README.md
{
"name": "my-dev-sashido-parse-server",
"version": "0.1.0",
"description": "My Development SashiDo Parse Server with CloudCode",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/ParsePlatform/parse-server.git"
},
"license": "MIT",
"dependencies": {
"parse": "~1.11.0",
"parse-server": "2.3.3",
"@types/node": "7.0.22",
"tsc": "1.20150623.0",
"typescript": "2.3.3"
},
"scripts": {
"start": "node index.js",
"tsc": "tsc -p ./cloud/src",
"build": "npm run tsc",
"postinstall": "if [ \"$install\" != \"1\" ]; then export install=\"1\" && npm run build; fi"
},
"engines": {
"node": ">=4.3"
}
}
{
"compilerOptions": {
"target": "es6",
"module": "commonjs",
"outDir": "../",
"sourceMap": true
},
"include": [
"./**/*.ts"
],
"exclude": [
"node_modules"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment