UNPKG

@luddites-me/generator

Version:
130 lines (128 loc) 4.51 kB
{ "author": "Christopher Froehlich", "dependencies": { }, "description": "<%- platformName %> integration project", "devDependencies": { "@luddites-me/protect-tools-js": "1.1.0", "url": "0.11.0" }, "envDocumentation": { "DEV_SUFFIX": { "defaultValue": "dev", "description": "Developer initials to use for serverless deployments (overrides `NODE_ENV` for ARNs)." }, "NODE_ENV": { "defaultValue": "dev", "description": "Environment. Default: dev. Options are: dev, test and prod." } }, "files": [ "dist" ], "license": "The Unlicense", "main": "dist/index.min.js", "name": "@luddites-me/<%- platformName %>-platform", "private": true, "scripts": { "build": "yarn && yarn clean && yarn generate:exports && yarn bundle && yarn sortJson && yarn docs:all", "build:dev": "NODE_ENV=dev yarn build", "build:prod": "NODE_ENV=prod yarn build", "bundle": "tsc -d && webpack", "clean": "rm -rf .awcache dist .serverless .tmp api temp", "count": "cloc ./src ./build ./docs", "deploy": "METHOD=deploy npx ./node_modules/@ns8/protect-sdk-switchboard/dist/build/stepDeploy.js", "docs:all": "yarn docs:standardize && yarn docs:api", "docs:api": "npx ./node_modules/@ns8/protect-tools-js/dist/docs/generateApi.js --path=./api-extractor.json", "docs:publish": "npx ./node_modules/@ns8/protect-tools-js/dist/docs/generateApiDocs.js", "docs:standardize": "npx ./node_modules/@ns8/protect-tools-js/dist/readme/standardizeReadme.js", "generate:exports": "cti create ./src -w -b", "lint": "eslint -c node_modules/@ns8/protect-tools-js/.eslintrc.yml './src/**/*.ts'", "lint:fix": "yarn lint --fix", "sortJson": "npx ./node_modules/@ns8/protect-tools-js/dist/lint/sortJson.js", "test": "yarn count", "test:coverage": "nyc --nycrc-path 'node_modules/@ns8/protect-tools-js/.nycrc.yml' mocha 'src/**/*test.ts' && yarn count", "test:debug": "mocha -r ts-node/register 'src/**/*test.ts'", "undeploy": "METHOD=remove npx ./node_modules/@ns8/protect-sdk-switchboard/dist/stepDeploy.js" }, "scriptsDocumentation": { "build": { "description": "Assembles `src` code into a single, minified JS module with type definitions. Exports `build` scripts into a build folder.", "dev": false }, "build:dev": { "description": "Builds in dev mode", "dev": true }, "build:prod": { "description": "Builds in prod mode.", "dev": true }, "bundle": { "description": "Runs WebPack on the `src` code", "dev": false }, "clean": { "description": "Purges all temporary folders", "dev": true }, "count": { "description": "Counts lines of source code", "dev": true }, "deploy": { "description": "Deploys the polling lamdbas to AWS", "dev": true }, "docs:all": { "description": "Runs the API and standardization scripts.", "dev": true }, "docs:api": { "description": "Creates a `project-api` Markdown in docs and an `index.d.ts` file in dist.", "dev": true }, "docs:publish": { "description": "Publishes the assembled Markdown docs to `gh-pages` branch.", "dev": true }, "docs:standardize": { "description": "Creates or updates a new readme with a standard set of readme sections, including a toc, yarn script documentation, links to repo documentation files and an \"UNLICENSED\" license", "dev": true }, "generate:exports": { "description": "Generates index.ts files for all exports recursively in the 'src' folder", "dev": true }, "lint": { "description": "Lints the codebase and the documentation", "dev": true }, "lint:fix": { "description": "Lints the codebase and automatically fixes what it can", "dev": true }, "sortJson": { "description": "Performs aesthetic operations to make the project files easier to navigate and read", "dev": true }, "test": { "description": "Runs tests and calculates test coverage", "dev": true }, "test:coverage": { "description": "Calculates test coverage", "dev": true }, "test:debug": { "description": "Runs tests with the debugger", "dev": true }, "undeploy": { "description": "Removes the polling lamdbas from AWS", "dev": true } }, "types": "dist/index.d.ts", "version": "0.0.1" }