Skip to content
This repository was archived by the owner on Mar 27, 2018. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions .babelrc

This file was deleted.

31 changes: 18 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"author": "Bart Langelaan",
"license": "MIT",
"dependencies": {
"babel-runtime": "^6.25.0",
"get-nested": "^4.0.0",
"prop-types": "^15.5.10",
"react-async-bootstrapper": "^1.1.2",
Expand All @@ -20,13 +19,6 @@
"react": "^16.0.0"
},
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-plugin-dynamic-import-node": "^1.2.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.6.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-3": "^6.24.1",
"coveralls": "^3.0.0",
"hn": "^0.6.1",
"jest": "^22.3.0",
Expand All @@ -37,30 +29,43 @@
"rimraf": "^2.6.2",
"semantic-release": "^12.4.1",
"travis-deploy-once": "^4.3.4",
"ts-jest": "^22.0.4",
"tslint": "^5.9.1",
"tslint-config-airbnb": "^5.7.0",
"tslint-config-prettier": "^1.8.0",
"tslint-react": "^3.5.1",
"typescript": "^2.7.2"
},
"scripts": {
"start": "npm run build -- -w",
"build": "rimraf lib && babel src -d lib --ignore test.js",
"start": "tsc --watch",
"build": "rimraf lib && tsc",
"travis-deploy-once": "travis-deploy-once",
"semantic-release": "semantic-release",
"test": "yarn test:unit && yarn test:lint",
"test:unit": "jest --coverage",
"test:unit:update": "yarn test:unit -- -u",
"test:lint": "prettier 'src/**/*.js' -l && tslint 'src/**/*.js'",
"format": "prettier 'src/**/*.js' --write -l && tslint 'src/**/*.js' --fix"
"test:lint": "prettier 'src/**/*.{js,ts,tsx}' -l --parser typescript && tslint 'src/**/*.{js,ts,tsx}'",
"format": "prettier 'src/**/*.{js,ts,tsx}' --write -l --parser typescript && tslint 'src/**/*.{js,ts,tsx}' --fix"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.js"
"src/**/*.{js,ts,tsx}"
],
"coverageReporters": [
"lcov",
"text"
],
"mapCoverage": true,
"transform": {
"^.+\\.(j|t)sx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(j|t)sx?$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json",
"node"
]
},
"prettier": {
Expand Down
19 changes: 19 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "ES5",
"outDir": "lib",
"rootDir": "src",
"sourceMap": true,
"inlineSourceMap": false,
"jsx": "react",
"allowJs": true,
"allowSyntheticDefaultImports": true
},
"include": [
"src/**/*"
],
"exclude": [
"**/*.test.js"
]
}
Loading