-
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from maticzav/next
Emma 2.0
- Loading branch information
Showing
33 changed files
with
4,236 additions
and
3,302 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
# dependencies | ||
/node_modules | ||
/coverage | ||
|
||
# production | ||
/dist | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"hooks": { | ||
"pre-commit": "pretty-quick --staged" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
module.exports = { | ||
roots: ['<rootDir>/tests', '<rootDir>/src'], | ||
testEnvironment: 'node', | ||
transform: { | ||
'^.+\\.tsx?$': 'ts-jest', | ||
}, | ||
testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$', | ||
testPathIgnorePatterns: ['/node_modules/', '/__fixtures__/'], | ||
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'], | ||
collectCoverage: true, | ||
collectCoverageFrom: [ | ||
'**/*.{ts,tsx}', | ||
'!**/node_modules/**', | ||
'!**/vendor/**', | ||
'!**/generated/**', | ||
], | ||
snapshotSerializers: ['jest-serializer-ansi'], | ||
verbose: true, | ||
coverageDirectory: './coverage', | ||
coverageReporters: ['json', 'lcov', 'text', 'clover', 'html'], | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,76 +1,99 @@ | ||
{ | ||
"name": "emma-cli", | ||
"description": "Great assistant who helps you search Yarn and NPM in your terminal.", | ||
"description": "Advanced package search from your terminal.", | ||
"author": "Matic Zavadlal <[email protected]>", | ||
"version": "0.0.0-semantic-release", | ||
"bin": { | ||
"emma": "dist/index.js" | ||
"emma": "dist/bin.js", | ||
"ema": "dist/bin.js" | ||
}, | ||
"engines": { | ||
"node": ">=8.0.0" | ||
}, | ||
"release": { | ||
"branch": "master" | ||
}, | ||
"scripts": { | ||
"build": "babel src --out-dir dist --ignore __tests__", | ||
"prepublish": "cross-env NODE_ENV=production npm run build", | ||
"dev": "babel -w src --out-dir dist --ignore __tests__", | ||
"format": "prettier --write --ignore-path .gitignore {src,.}/*.js", | ||
"test": "prettier-check --ignore-path .gitignore {src,.}/*.js && ava", | ||
"build": "tsc -d", | ||
"coverage": "yarn codecov", | ||
"dev": "ts-node --files src/bin.tsx", | ||
"prepack": "npm run build", | ||
"pack": "pkg dist/bin.js -c package.json -o packed", | ||
"prepublish": "npm run build", | ||
"pretest": "npm run build", | ||
"semantic-release": "semantic-release", | ||
"postinstall": "opencollective postinstall" | ||
"release": "semantic-release", | ||
"test": "jest" | ||
}, | ||
"main": "dist/index.js", | ||
"files": [ | ||
"dist" | ||
], | ||
"homepage": "https://github.com/maticzav/emma-cli", | ||
"keywords": [ | ||
"emma" | ||
"emma", | ||
"yarn", | ||
"npm" | ||
], | ||
"bugs": { | ||
"url": "https://github.com/maticzav/emma-cli/issues" | ||
}, | ||
"dependencies": { | ||
"algoliasearch": "^3.24.12", | ||
"apollo-cache-inmemory": "^1.2.10", | ||
"apollo-client": "^2.4.2", | ||
"apollo-link-http": "^1.5.5", | ||
"ava": "^0.25.0", | ||
"child_process": "^1.0.2", | ||
"dot-prop": "^4.2.0", | ||
"execa": "^0.9.0", | ||
"graphql": "^14.0.2", | ||
"graphql-tag": "^2.9.2", | ||
"has-ansi": "^3.0.0", | ||
"ink": "^0.4.1", | ||
"ink-select-input": "^1.0.0", | ||
"ink-spinner": "^1.0.0", | ||
"ink-text-input": "^1.1.1", | ||
"meow": "^4.0.0", | ||
"opencollective": "^1.0.3", | ||
"prettier": "^1.14.2", | ||
"prettier-check": "^2.0.0", | ||
"term-size": "^1.2.0", | ||
"update-notifier": "^2.3.0", | ||
"yargs": "^11.0.0" | ||
"algoliasearch": "^3.32.1", | ||
"execa": "^1.0.0", | ||
"ink": "^2.0.5", | ||
"ink-spinner": "^3.0.0", | ||
"meow": "^5.0.0", | ||
"multilines": "^1.0.2", | ||
"opn": "^5.5.0", | ||
"react": "^16.8.4", | ||
"update-notifier": "^2.5.0" | ||
}, | ||
"devDependencies": { | ||
"@babel/cli": "^7.0.0-beta.40", | ||
"@babel/core": "^7.0.0-beta.40", | ||
"@babel/plugin-proposal-object-rest-spread": "^7.0.0-beta.40", | ||
"@babel/preset-env": "^7.0.0-beta.40", | ||
"babel-plugin-transform-react-jsx": "^6.24.1", | ||
"cross-env": "^5.1.3", | ||
"semantic-release": "^12.4.1" | ||
"@types/algoliasearch": "^3.30.7", | ||
"@types/execa": "^0.9.0", | ||
"@types/ink": "^0.5.1", | ||
"@types/ink-testing-library": "^1.0.0", | ||
"@types/jest": "^24.0.11", | ||
"@types/meow": "^5.0.0", | ||
"@types/node": "^11.11.3", | ||
"@types/opn": "^5.1.0", | ||
"@types/react": "^16.8.8", | ||
"@types/update-notifier": "^2.5.0", | ||
"@zeit/ncc": "^0.16.1", | ||
"codecov": "^3.2.0", | ||
"husky": "^1.3.1", | ||
"ink-testing-library": "^1.0.1", | ||
"jest": "^24.5.0", | ||
"jest-serializer-ansi": "^1.0.3", | ||
"pkg": "^4.3.7", | ||
"prettier": "^1.16.4", | ||
"pretty-quick": "^1.10.0", | ||
"semantic-release": "^12.4.1", | ||
"ts-jest": "^24.0.0", | ||
"ts-node": "^8.0.3", | ||
"typescript": "^3.3.3333" | ||
}, | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/maticzav/emma-cli.git" | ||
}, | ||
"pkg": { | ||
"scripts": "dist/**/*.js", | ||
"targets": [ | ||
"node10-alpine-x64", | ||
"node10-linux-x64", | ||
"node10-macos-x64", | ||
"node10-win-x64" | ||
] | ||
}, | ||
"release": { | ||
"branch": "master", | ||
"publish": [ | ||
"@semantic-release/npm", | ||
{ | ||
"path": "@semantic-release/github", | ||
"assets": "packed/*" | ||
} | ||
] | ||
}, | ||
"collective": { | ||
"type": "opencollective", | ||
"url": "https://opencollective.com/emma-cli", | ||
|
Oops, something went wrong.