Permalink
Browse files

chore: move config to top level where possible

  • Loading branch information...
JamesHenry committed Jan 13, 2019
1 parent db44073 commit 19c4982a3f15e20153e31316b9be563387dbf01a
File renamed without changes.
File renamed without changes.
@@ -59,3 +59,8 @@ typings/

# next.js build output
.next

.DS_Store
.vscode
.idea
dist
File renamed without changes.
@@ -21,7 +21,6 @@ script:
- yarn global add codecov
after_success:
- codecov
- yarn travis-deploy-once "yarn semantic-release"
branches:
only:
- master
26 LICENSE
@@ -0,0 +1,26 @@
TypeScript ESLint

Originally extracted from:

TypeScript ESLint Parser
Copyright JS Foundation and other contributors, https://js.foundation

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -1,7 +1,5 @@
{
"packages": [
"packages/*"
],
"version": "0.0.0",
"npmClient": "yarn"
"npmClient": "yarn",
"useWorkspaces": true
}
@@ -1,7 +1,67 @@
{
"name": "typescript-eslint",
"private": true,
"workspaces": [
"packages/*"
],
"author": "James Henry <typescript-eslint@jameshenry.blog>",
"license": "BSD-2-Clause",
"repository": "typescript-eslint/typescript-eslint",
"bugs": {
"url": "https://github.com/typescript-eslint/typescript-eslint/issues"
},
"scripts": {
"postinstall": "lerna bootstrap",
"test": "lerna run test",
"build": "lerna run build",
"clean": "lerna run clean",
"precommit": "yarn test && lint-staged",
"cz": "git-cz",
"commitmsg": "commitlint -E GIT_PARAMS",
"check-format": "prettier --list-different \"./**/*.{ts,js,json,md}\""
},
"lint-staged": {
"*.{ts,js,json,md}": [
"prettier --write",
"git add"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"engines": {
"node": ">=6.14.0"
},
"devDependencies": {
"lerna": "^3.10.5"
"@babel/code-frame": "7.0.0",
"@babel/parser": "7.2.3",
"@commitlint/cli": "^7.1.2",
"@commitlint/config-conventional": "^7.1.2",
"@commitlint/travis-cli": "^7.1.2",
"@types/babel-code-frame": "^6.20.1",
"@types/jest": "^23.3.9",
"@types/lodash.isplainobject": "^4.0.4",
"@types/lodash.unescape": "^4.0.4",
"@types/node": "^10.12.2",
"@types/semver": "^5.5.0",
"@types/shelljs": "^0.8.0",
"cz-conventional-changelog": "2.1.0",
"glob": "7.1.2",
"husky": "0.14.3",
"jest": "23.6.0",
"lerna": "^3.10.5",
"lint-staged": "7.3.0",
"lodash.isplainobject": "4.0.6",
"prettier": "^1.14.3",
"shelljs": "0.8.2",
"ts-jest": "^23.10.4",
"typescript": "~3.2.1"
}
}

This file was deleted.

Oops, something went wrong.
@@ -1,7 +1,6 @@
{
"name": "typescript-estree",
"description": "A parser that converts TypeScript source code into an ESTree compatible form",
"homepage": "https://github.com/JamesHenry/typescript-estree",
"main": "dist/parser.js",
"version": "0.0.0-development",
"files": [
@@ -12,37 +11,11 @@
"engines": {
"node": ">=6.14.0"
},
"repository": "JamesHenry/typescript-estree",
"repository": "typescript-eslint/typescript-eslint",
"bugs": {
"url": "https://github.com/JamesHenry/typescript-estree/issues"
"url": "https://github.com/typescript-eslint/typescript-eslint/issues"
},
"license": "BSD-2-Clause",
"devDependencies": {
"@babel/code-frame": "7.0.0",
"@babel/parser": "7.2.3",
"@commitlint/cli": "^7.1.2",
"@commitlint/config-conventional": "^7.1.2",
"@commitlint/travis-cli": "^7.1.2",
"@types/babel-code-frame": "^6.20.1",
"@types/jest": "^23.3.9",
"@types/lodash.isplainobject": "^4.0.4",
"@types/lodash.unescape": "^4.0.4",
"@types/node": "^10.12.2",
"@types/semver": "^5.5.0",
"@types/shelljs": "^0.8.0",
"cz-conventional-changelog": "2.1.0",
"glob": "7.1.2",
"husky": "0.14.3",
"jest": "23.6.0",
"lint-staged": "7.3.0",
"lodash.isplainobject": "4.0.6",
"prettier": "^1.14.3",
"semantic-release": "^15.9.16",
"shelljs": "0.8.2",
"travis-deploy-once": "^5.0.8",
"ts-jest": "^23.10.4",
"typescript": "~3.2.1"
},
"keywords": [
"ast",
"estree",
@@ -56,13 +29,7 @@
"build": "tsc",
"test": "jest --coverage",
"unit-tests": "jest \"./tests/lib/.*\"",
"ast-alignment-tests": "jest spec.ts",
"precommit": "npm test && lint-staged",
"cz": "git-cz",
"commitmsg": "commitlint -E GIT_PARAMS",
"check-format": "prettier --list-different \"./**/*.{ts,js,json,md}\"",
"semantic-release": "semantic-release",
"travis-deploy-once": "travis-deploy-once"
"ast-alignment-tests": "jest spec.ts"
},
"dependencies": {
"lodash.unescape": "4.0.1",
@@ -71,20 +38,7 @@
"peerDependencies": {
"typescript": "*"
},
"lint-staged": {
"*.{ts,js,json,md}": [
"prettier --write",
"git add"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
"devDependencies": {
"typescript": "~3.2.1"
}
}
@@ -1,11 +1,8 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"target": "es2017",
"module": "commonjs",
"declaration": true,
"outDir": "./dist",
"strict": true,
"esModuleInterop": true
"outDir": "./dist"
},
"include": ["src"]
}
Oops, something went wrong.

0 comments on commit 19c4982

Please sign in to comment.