Browse Source

chore: 输出typings

es6
iapyang 5 years ago
parent
commit
10c41d6630
  1. 1
      .gitignore
  2. 2
      package.json
  3. 5
      tsconfig.json

1
.gitignore vendored

@ -6,3 +6,4 @@ node_modules/
coverage
unit.test.statistic.json
package-lock.json
dist/lib

2
package.json

@ -69,7 +69,7 @@
"webpack:prod": "webpack -p --progress --config=webpack/webpack.prod.js --mode production",
"webpack:prod:ie8": "cross-env BROWSER_VERSION=ie8 webpack -p --progress --config=webpack/webpack.prod.js --mode production",
"start": "node server.js",
"build": "npm run webpack:prod && npm run webpack:prod:ie8 && grunt build",
"build": "npm run webpack:prod && npm run webpack:prod:ie8 && grunt build && tsc",
"postbuild": "node ./lib/postbuild/postbuild.js",
"compile": "grunt compile",
"fake": "grunt fake-build",

5
tsconfig.json

@ -10,7 +10,7 @@
],
"declaration": true,
"experimentalDecorators": true,
"outDir": "./bin",
"outDir": "./dist/lib",
"baseUrl": ".",
// "strict": true,
"strictNullChecks": true,
@ -19,7 +19,8 @@
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true
"noFallthroughCasesInSwitch": true,
"emitDeclarationOnly": true
},
"include": [
"typescript/*.ts",

Loading…
Cancel
Save