Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ascoders committed Mar 29, 2018
1 parent 986b36c commit b3750bf
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ node_modules
.vscode
.temp
built
.nyc_output
coverage
3 changes: 2 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ node_modules
.vscode
.temp
built
test
tests
.nyc_output
coverage
11 changes: 9 additions & 2 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,12 @@
"tabWidth": 2,
"trailingComma": "none",
"useTabs": false,
"overrides": [{ "files": "*.json", "options": { "printWidth": 200 } }]
}
"overrides": [
{
"files": "*.json",
"options": {
"printWidth": 200
}
}
]
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "*"
}
}
}
4 changes: 4 additions & 0 deletions src/utils/declare/npm.d.ts
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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"
15 changes: 12 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
}

0 comments on commit b3750bf

Please sign in to comment.