chore(TypeScript): fix linting and generate .d.ts

This commit is contained in:
harttle
2019-02-17 18:20:04 +08:00
parent 7ee87008c7
commit fc9ebdb90f
79 changed files with 809 additions and 820 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
"types": "dist/liquid.d.ts",
"browser": "dist/liquid.js",
"scripts": {
"lint": "eslint src/ test/ *.js",
"lint": "eslint . --ext .ts --ext .js",
"unit": "mocha -r ts-node/register -r tsconfig-paths/register test/unit/**.ts",
"e2e": "npm run build && mocha -r ts-node/register -r tsconfig-paths/register test/e2e/**/*.ts",
"test": "npm run unit && npm run e2e",