change demos to typescript and WidthType disparity

This commit is contained in:
Dolan
2018-08-23 01:05:26 +01:00
parent 877dcb462f
commit fe2032a3d4
5 changed files with 39 additions and 37 deletions

View File

@ -13,7 +13,7 @@
"tsc": "rimraf ./build && tsc -p .",
"webpack": "rimraf ./build && webpack",
"build.web": "webpack --config webpack.web.config.js",
"demo": "npm run build && node ./demo",
"demo": "npm run build && npm run ts-node ./demo",
"typedoc": "typedoc src/index.ts",
"style": "prettier -l \"src/**/*.ts\"",
"style.fix": "prettier \"src/**/*.ts\" --write",