Support TypeScript source files
Support .ts and .tsx files in non-test code.
Showing
... | ... | @@ -10,6 +10,7 @@ |
"@babel/core": "^7.1.6", | ||
"@babel/preset-env": "^7.1.6", | ||
"@babel/preset-react": "^7.0.0", | ||
"@babel/preset-typescript": "^7.16.7", | ||
"@hypothesis/frontend-build": "1.2.0", | ||
"@hypothesis/frontend-shared": "5.3.0", | ||
"@octokit/rest": "^19.0.3", | ||
... | ... | @@ -107,8 +108,8 @@ |
"scripts": { | ||
"build": "cross-env NODE_ENV=production gulp build", | ||
"lint": "eslint .", | ||
"checkformatting": "prettier --check '**/*.{js,scss,d.ts}'", | ||
"format": "prettier --list-different --write '**/*.{js,scss,d.ts}'", | ||
"checkformatting": "prettier --check '**/*.{js,scss,ts,tsx,d.ts}'", | ||
"format": "prettier --list-different --write '**/*.{js,scss,ts,tsx,d.ts}'", | ||
"test": "gulp test", | ||
"typecheck": "tsc --build tsconfig.json", | ||
"report-coverage": "codecov -f coverage/coverage-final.json", | ||
... | ... |
Please register or sign in to comment