Skip to content

Instantly share code, notes, and snippets.

@sandalsoft
Last active March 16, 2020 00:45
Show Gist options
  • Save sandalsoft/25412b1a14c05f88d79a71c67f07f6e0 to your computer and use it in GitHub Desktop.
Save sandalsoft/25412b1a14c05f88d79a71c67f07f6e0 to your computer and use it in GitHub Desktop.
{
"name": "__NAME__",
"description": "Description of something or other",
"version": "0.1.0",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"private": false,
"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"
},
"prettier": {
"arrowParens": "always",
"trailingComma": "all"
},
"stage": "dev",
"scripts": {
"release": "commit $@ && npm run publish",
"pregit:commit": "git add .",
"git:commit": "git commit -am \"@$\"",
"postgit:commit": "git push origin --all",
"publish": "np",
"echo": "echo $npm_package_serverlessFunctionName",
"build": "run-p --print-label build-src build-dts",
"build--watch": "onchange 'src/**/*' --initial --kill --delay 1000 -- npm run build",
"build:watch": "npm run build--watch",
"build-dts": "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",
"prebuild": "npm run clean",
"start": "npm run start:dist",
"start:dist": "node -r dotenv/config ./dist/client",
"start:ts": "ts-node -r tsconfig-paths/register -r dotenv/config ./src/client",
"start:sls": "npm run invoke:local",
"test": "jest",
"test:watch": "jest --watch",
"test:cover": "jest --coverage"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.8.7",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.8.3",
"@babel/plugin-proposal-object-rest-spread": "^7.8.3",
"@babel/plugin-proposal-optional-chaining": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.8.3",
"@babel/preset-env": "^7.8.7",
"@babel/preset-typescript": "^7.8.3",
"@babel/runtime": "^7.8.7",
"@types/configstore": "^4.0.0",
"@types/dotenv": "^8.2.0",
"@types/jest": "^25.1.4",
"@types/module-alias": "^2.0.0",
"@types/node": "^13.9.0",
"@types/prettier": "^1.19.0",
"@types/ramda": "^0.26.43",
"@typescript-eslint/eslint-plugin": "^2.22.0",
"@typescript-eslint/parser": "^2.22.0",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
"babel-preset-env": "^1.7.0",
"dotenv": "^8.2.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-prettier": "^3.1.2",
"jest": "^25.1.0",
"jest-sourcemaps": "^1.0.1",
"np": "^6.2.0",
"npm-run-all": "^4.1.5",
"onchange": "^6.1.0",
"prettier": "^1.19.1",
"run-p": "0.0.0",
"ts-jest": "^25.2.1",
"tsconfig-paths": "^3.9.0",
"typescript": "3.7.5"
},
"dependencies": {
"@sandalsoft/logger": "^1.2.0",
"ramda": "^0.27.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment