Last active
July 13, 2020 13:12
-
-
Save sandalsoft/2d28597c7f665f6822d30ef340ef7e18 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "__NAME__", | |
| "description": "Description of something or other", | |
| "version": "0.1.0", | |
| "author": { | |
| "name": "Eric Nelson <[email protected]>" | |
| }, | |
| "main": "./dist/index.js", | |
| "types": "./dist/index.d.ts", | |
| "private": true, | |
| "license": "UNLICENSED", | |
| "files": ["dist"], | |
| "publishConfig": { | |
| "access": "restricted" | |
| }, | |
| "homepage": "https://github.com/__GITHUB_USER__/__PROJECT_NAME__#readme", | |
| "repository": { | |
| "type": "git", | |
| "url": "git+https://github.com/__GITHUB_USER__/__PROJECT_NAME__.git" | |
| }, | |
| "bugs": { | |
| "url": "https://github.com/__GITHUB_USER__/__PROJECT_NAME__/issues" | |
| }, | |
| "engines": { | |
| "npm": ">=6.1.0", | |
| "node": ">=12.0.0" | |
| }, | |
| "prettier": { | |
| "arrowParens": "always", | |
| "trailingComma": "all" | |
| }, | |
| "stage": "dev", | |
| "serverlessFunctionName": "__FUNCTION_NAME__", | |
| "scripts":{ | |
| "shit": "echo shit", | |
| "build:notify-done": "/usr/local/bin/terminal-notifier -title \"$(/usr/local/bin/jq -r .name package.json)\" -subtitle $(/Users/eric/bin/pkgversion) -message \"Build Complete\"", | |
| "package:increment-build-number": "semver --preid b -i prerelease $(jq -r .version package.json) | xargs npm --no-git-tag-version --allow-same-version version", | |
| "build:short": "clear && /Users/eric/bin/rule && npm --silent run build 2>&1 | egrep '[build-dts].*error|(Successfully compiled.*)|(SyntaxError.*)' | sed 's/\\[build-...\\]/\\'$'\n''/g' ", | |
| "build:watch:short": "onchange 'src/**/*' --initial --kill --delay 1000 -- npm --silent run build:short", | |
| "postbuild": "npm run --silent package:increment-build-number && npm run -s build:notify-done ", | |
| "prebuild": "npm run clean", | |
| "build": "run-p --print-label build-src build-dts", | |
| "prebuild:watch": "npm run clean", | |
| "build:watch": "tsc --watch", | |
| "build-dts": "npx tsc --emitDeclarationOnly", | |
| "build-dts--watch": "npm run build-dts -- --watch --preserveWatchOutput", | |
| "build-src": "babel src --out-dir dist --extensions .js,.jsx,.ts,.tsx --source-maps", | |
| "build-src--watch": "npm run build-src -- --watch 'src/**/*' --verbose", | |
| "clean": "rimraf ./dist ./pkg", | |
| "start": "NODE_TLS_REJECT_UNAUTHORIZED=0 npm --silent run start:dist", | |
| "start:dist": "NODE_TLS_REJECT_UNAUTHORIZED=0 node -r dotenv/config ./dist/client", | |
| "start:ts": "NODE_TLS_REJECT_UNAUTHORIZED=0 ts-node -r tsconfig-paths/register -r dotenv/config ./src/client", | |
| "start:sls": "NODE_TLS_REJECT_UNAUTHORIZED=0 npm --silent run invoke:local", | |
| "test": "jest", | |
| "test:watch": "jest --watch", | |
| "test:cover": "jest --coverage", | |
| "invoke:local": "sls invoke local --function $npm_package_serverlessFunctionName --path test/$npm_package_serverlessFunctionName.data.json.js --stage $npm_package_stage", | |
| "deploy:sls": "sls deploy", | |
| "deploy:sls:list": "sls deploy list", | |
| "deploy:sls:function": "sls deploy function --function $npm_package_serverlessFunctionName", | |
| "notes:fix-large-git-file": "echo \"https://stackoverflow.com/a/55516080/34227\"" | |
| }, | |
| "devDependencies": { | |
| "@babel/cli": "^7.6.4", | |
| "@babel/core": "^7.6.4", | |
| "@babel/plugin-proposal-class-properties": "^7.5.5", | |
| "@babel/plugin-proposal-nullish-coalescing-operator": "^7.4.4", | |
| "@babel/plugin-proposal-object-rest-spread": "^7.6.2", | |
| "@babel/plugin-proposal-optional-chaining": "^7.6.0", | |
| "@babel/plugin-transform-runtime": "^7.6.2", | |
| "@babel/preset-env": "^7.6.3", | |
| "@babel/preset-typescript": "^7.6.0", | |
| "@babel/runtime": "^7.6.3", | |
| "babel-plugin-transform-es2015-modules-commonjs": "^6.26.2", | |
| "babel-preset-env": "^1.7.0", | |
| "@types/aws-lambda": "^8.10.40", | |
| "@types/configstore": "^4.0.0", | |
| "@types/dotenv": "^6.1.1", | |
| "@types/jest": "^24.0.18", | |
| "@types/module-alias": "^2.0.0", | |
| "@types/node": "^12.7.12", | |
| "@types/prettier": "^1.18.3", | |
| "@types/ramda": "^0.26.29", | |
| "@typescript-eslint/eslint-plugin": "^2.3.3", | |
| "@typescript-eslint/parser": "^2.3.3", | |
| "serverless-offline": "^5.12.1", | |
| "serverless-plugin-typescript": "^1.1.9", | |
| "eslint": "^6.5.1", | |
| "eslint-config-prettier": "^6.4.0", | |
| "eslint-plugin-prettier": "^3.1.1", | |
| "jest": "^24.9.0", | |
| "jest-sourcemaps": "^1.0.1", | |
| "ts-jest": "^24.1.0", | |
| "dotenv": "^8.1.0", | |
| "npm-run-all": "^4.1.5", | |
| "onchange": "^6.1.0", | |
| "prettier": "^1.18.2", | |
| "run-p": "0.0.0", | |
| "tsconfig-paths": "^3.9.0", | |
| "typescript": "3.6.4" | |
| }, | |
| "dependencies": { | |
| "aws-lambda": "^1.0.5", | |
| "fs-jetpack": "^2.2.2", | |
| "ramda": "^0.26.1" | |
| } | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment