-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
51 lines (51 loc) · 1.89 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"name": "quantum-site-ts",
"version": "0.0.1",
"description": "A Quantum Site TypeScript web application",
"main": "dist/handler.js",
"scripts": {
"test": "./node_modules/.bin/jest --detectOpenHandles --",
"clean": "rm -rf dist;mkdir -p dist;mkdir -p dist/assets",
"compile": "tsc --build",
"path:fix": "OLD_PATH=$PATH;PATH=./node_modules/.bin:../node_modules/.bin:$PATH",
"path:reset": "PATH=$OLD_PATH",
"tokens": "for f in dist/*.htm; do sed -i '' s/\\{\\{version\\}\\}/$(date +%s)/g $f; done",
"assets": "rsync -aP --exclude '*.map' --exclude '*.scss' src/assets/ dist/assets/;",
"setup": "cp ./.env dist/;cp ./src/*.htm dist/;cp serverless.yml dist;cp package.json dist;yarn assets;yarn tokens",
"build": "yarn;yarn clean;yarn path:fix;concurrently \"yarn setup\" \"yarn compile\";yarn path:reset",
"offline": "yarn build;sls offline start --dontPrintOutput",
"package:dev": "yarn build;cd dist;sls package --stage dev;cd ..",
"package:prod": "yarn build;cd dist;sls package --stage prod;cd ..",
"deploy:dev": "yarn build;cd dist;sls deploy --stage dev --mode remote;cd ..",
"deploy:prod": "yarn build;cd dist;sls deploy --stage prod --mode remote;cd .."
},
"repository": {
"type": "git",
"url": "https://github.com/GioCirque/quantum-site-ts.git"
},
"keywords": [
"quantum",
"site",
"typescript",
"aws",
"serverless"
],
"author": "Gio Palacino <gio@palacino.net>",
"license": "MIT",
"devDependencies": {
"@types/aws-lambda": "8.10.13",
"@types/dotenv": "4.0.3",
"@types/node": "10.10.1",
"concurrently": "4.0.1",
"jest": "23.6.0",
"serverless": "1.32.0",
"serverless-offline": "3.25.12",
"serverless-plugin-bind-deployment-id": "1.0.1",
"serverless-s3-sync": "1.6.1",
"source-map-support": "0.5.9"
},
"dependencies": {
"aws-sdk": "2.315.0",
"dotenv": "6.0.0"
}
}