Skip to content
This repository has been archived by the owner on Nov 11, 2023. It is now read-only.

Commit

Permalink
Migrate to operational-scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
fabien0102 authored and Tejas Kumar committed Sep 10, 2018
1 parent 7279898 commit b5474b2
Show file tree
Hide file tree
Showing 7 changed files with 2,803 additions and 461 deletions.
9 changes: 6 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,10 @@ typings/
# dotenv environment variables file
.env

#!! ERROR: vscode is undefined. Use list command to see defined gitignore types !!#
public
lib


# End of https://www.gitignore.io/api/node,macos,vscode
# Files managed by operational-scripts
tslint.json
tsconfig.json
.prettierrc
5 changes: 0 additions & 5 deletions .prettierrc

This file was deleted.

47 changes: 6 additions & 41 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "dist/index.js",
"license": "MIT",
"files": [
"dist"
"lib"
],
"engines": {
"vscode": "^1.22.0"
Expand Down Expand Up @@ -33,33 +33,15 @@
"url": "https://github.com/contiamo/restful-react"
},
"scripts": {
"test": "jest",
"watch": "rollup -cw",
"build": "rollup -c",
"precommit": "lint-staged",
"start": "operational-scripts start",
"test": "operational-scripts test",
"build": "operational-scripts build --for npm",
"preversion": "npm run build",
"version": "auto-changelog -p && git add CHANGELOG.md",
"lint": "tslint src/**/*{ts,tsx} --project .",
"ci": "npm run jest && npm run lint",
"jest": "jest --outputFile test-results.json --json"
},
"lint-staged": {
"*.md": [
"prettier --write",
"doctoc",
"git add"
],
"*.json": [
"prettier --write",
"git add"
],
"*.(tsx|ts)": [
"tslint --fix --project .",
"prettier --write",
"git add"
]
"prepublishOnly": "operational-scripts prepare"
},
"devDependencies": {
"@operational/scripts": "^1.1.2",
"@types/jest": "^23.3.1",
"@types/lodash": "^4.14.116",
"@types/nock": "^9.3.0",
Expand All @@ -77,8 +59,6 @@
"prettier": "^1.13.5",
"react-dom": "^16.4.2",
"react-testing-library": "^5.0.0",
"rollup": "^0.65.0",
"rollup-plugin-typescript2": "^0.17.0",
"ts-jest": "^23.1.4",
"tslint": "^5.10.0",
"tslint-config-prettier": "^1.13.0",
Expand All @@ -92,20 +72,5 @@
},
"peerDependencies": {
"react": "^16.4.1"
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"testURL": "http://localhost"
}
}
14 changes: 0 additions & 14 deletions rollup.config.js

This file was deleted.

62 changes: 0 additions & 62 deletions tsconfig.json

This file was deleted.

23 changes: 0 additions & 23 deletions tslint.json

This file was deleted.

Loading

0 comments on commit b5474b2

Please sign in to comment.