diff --git a/.gitignore b/.gitignore index f0bf04f..d3e5350 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ node_modules .vscode .temp built +.nyc_output coverage \ No newline at end of file diff --git a/.npmignore b/.npmignore index 0124173..ff9ed97 100644 --- a/.npmignore +++ b/.npmignore @@ -3,5 +3,6 @@ node_modules .vscode .temp built -test +tests +.nyc_output coverage \ No newline at end of file diff --git a/.prettierrc b/.prettierrc index 7df12aa..4582786 100644 --- a/.prettierrc +++ b/.prettierrc @@ -8,5 +8,12 @@ "tabWidth": 2, "trailingComma": "none", "useTabs": false, - "overrides": [{ "files": "*.json", "options": { "printWidth": 200 } }] -} + "overrides": [ + { + "files": "*.json", + "options": { + "printWidth": 200 + } + } + ] +} \ No newline at end of file diff --git a/package.json b/package.json index 900c4f5..35a24f5 100644 --- a/package.json +++ b/package.json @@ -6,10 +6,10 @@ "scripts": { "start": "pri plugin-watch", "prepublishOnly": "pri plugin-build", - "release": "rimraf built && npm publish", + "release": "npm publish", "test": "pri test" }, "dependencies": { "pri": "*" } -} +} \ No newline at end of file diff --git a/src/utils/declare/npm.d.ts b/src/utils/declare/npm.d.ts index 5453a26..f00c9ac 100644 --- a/src/utils/declare/npm.d.ts +++ b/src/utils/declare/npm.d.ts @@ -1,5 +1,6 @@ declare module "@babel/preset-env" declare module "@babel/preset-react" +declare module "@babel/preset-stage-2" declare module "opn" declare module "walk" declare module "colors" @@ -15,3 +16,6 @@ declare module "extract-text-webpack-plugin" declare module "html-webpack-plugin" declare module "normalize-path" declare module "preload-webpack-plugin" +declare module "gulp" +declare module "gulp-babel" +declare module "gulp-typescript" diff --git a/tsconfig.json b/tsconfig.json index 762c92f..d61b943 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,7 +9,16 @@ "experimentalDecorators": true, "skipLibCheck": true, "outDir": "built", - "lib": ["dom", "es5", "es6", "scripthost"] + "lib": [ + "dom", + "es5", + "es6", + "scripthost" + ] }, - "exclude": ["node_modules", "built", "lib"] -} + "exclude": [ + "node_modules", + "built", + "lib" + ] +} \ No newline at end of file