getting ready for release

master
Laura Liberda 2021-02-16 02:43:27 +01:00
parent a2038f1ef2
commit abcffc8b7a
4 changed files with 18 additions and 9 deletions

6
.gitignore vendored
View File

@ -1,5 +1,11 @@
# typescript builds
build
# oclif-dev
dist
tmp
oclif.manifest.json
# fetched automatically with scripts/download-gql-schema.ts
schema.graphql
schema.json

View File

@ -2,20 +2,25 @@
"name": "copykitku",
"version": "1.0.0",
"main": "index.js",
"author": "selfisekai <laura@selfisekai.rocks>",
"author": "Lauren Liberda <lauren@selfisekai.rocks>",
"license": "GPL-3.0",
"scripts": {
"build": "yarn build:gql-codegen && yarn build:ts",
"build": "yarn build:gql-codegen && yarn build:ts && yarn build:oclif",
"build:ts": "yarn tsc",
"build:ts:watch": "yarn tsc --watch",
"build:gql-codegen": "yarn build:gql-codegen:download && yarn build:gql-codegen:generate",
"build:gql-codegen:download": "yarn ts-node scripts/download-gql-schema.ts",
"build:gql-codegen:generate": "yarn ts-node scripts/generate-gql-types.ts",
"build:oclif": "yarn oclif-dev manifest",
"dev": "yarn build:ts:watch",
"lint": "yarn lint:prettier && yarn lint:eslint",
"lint:fix": "yarn lint:prettier:fix && yarn lint:eslint:fix",
"lint:eslint": "yarn eslint",
"lint:eslint:fix": "yarn eslint --fix",
"lint:prettier": "yarn prettier --check src",
"lint:prettier:fix": "yarn prettier --check --write src"
"lint:prettier:fix": "yarn prettier --check --write src",
"start": "node build/src/index.js",
"start:dev": "yarn build:ts && yarn start"
},
"bin": {
"copykitku": "./bin/run"

View File

@ -1,5 +1,3 @@
#!/usr/bin/env ts-node
import { run } from '@oclif/command';
if (process.argv[1] === __filename) {

View File

@ -10,15 +10,15 @@
// "allowJs": true, /* Allow javascript files to be compiled. */
// "checkJs": true, /* Report errors in .js files. */
// "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
// "declaration": true, /* Generates corresponding '.d.ts' file. */
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
// "sourceMap": true, /* Generates corresponding '.map' file. */
"declaration": true /* Generates corresponding '.d.ts' file. */,
"declarationMap": true /* Generates a sourcemap for each corresponding '.d.ts' file. */,
"sourceMap": true /* Generates corresponding '.map' file. */,
// "outFile": "./", /* Concatenate and emit output to single file. */
"outDir": "./build" /* Redirect output structure to the directory. */,
// "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
// "composite": true, /* Enable project compilation */
// "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */
// "removeComments": true, /* Do not emit comments to output. */
"removeComments": true /* Do not emit comments to output. */,
// "noEmit": true, /* Do not emit outputs. */
// "importHelpers": true, /* Import emit helpers from 'tslib'. */
// "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */