chore(package): reset

This commit is contained in:
ikatyang 2017-07-15 22:51:15 +08:00
parent 2a7156dabe
commit 277d9e143e
10 changed files with 2272 additions and 87 deletions

8
.editorconfig Normal file
View File

@ -0,0 +1,8 @@
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

3
.gitignore vendored
View File

@ -1,2 +1 @@
generated node_modules/
node_modules

View File

@ -1,35 +1,9 @@
language: node_js language: node_js
node_js: node_js:
- '6' - stable
before_install:
- git config --global user.name "$GIT_USER_NAME"
- git config --global user.email "$GIT_USER_EMAIL"
- git config --global push.default simple
before_script:
- git clone --depth=1 --branch=master "https://github.com/$TRAVIS_REPO_SLUG.git" ./generated
- rm -rf ./generated/*
script:
- yarn run generate
after_success:
- cd ./generated
- git add --all
- git commit -m "Update emoji-cheat-sheet"
- git push -qf "https://$GITHUB_ACCESS_TOKEN@github.com/$TRAVIS_REPO_SLUG.git"
branches:
only:
- generator
cache: cache:
yarn: true yarn: true
directories: directories:
- node_modules - node_modules
env:
global:
secure: DGAmpkJk6+RZIuNpobOd+6gHY9lTkNa/BQXDjbeX1UVO28kCT7vUuq6kmrFYcXLuHc6VCPzqve73byoy2uIbgpLjcp1P3k97x950f4atlqGXyEGCuzPN/wnJi2DHgAYAWC0bYqvgYjIXi/fdS3etPTBp1S/gUDGrvxkQuG4KTLmT163hnfLAQVHX/eE+0pPzR5ZbhUO0v3hyhqGhreYfvH22OaurbrBfxkE+d8cs9v9llRw3Xsj4KZZiMrHu9xAaoo9uxW0QM6PEElPitGfB5fCogQvmBFpk02Gsl3UoN++/7tjb6wkGgayhbQzopS+NyYXw5NCIKuzDkt5X68B0J+Dp8gcNCp4Fp08jmK4D7xqmqJopHDulyuQqgZ+/nue6+6j7J6I9tBnIftjPoDyYIme2YeMkrt2+P2ofv2E+Wv3aTLqZsg1CbkAhUHURGhG40UoaKSk3ft75+i5/VWdBe0QV6aLLmMl/2Hu5dJCtt9uGldAuC0huu6gIjXR0pPVMlGinxtPvjU0k/2ADxHzqwhLeaYpPX0HPWbYd25Can1IlwtmLELlVnTTzMwYugJzgpswm1pmH9jaq7oGjgv9VTRBz1Ab8uAaOivQi/W5Mb1LsWigHOiXmwTkMTs5NHGkolEX307Xv9XASr9F5T8hGNkUFBYQ6DJkjIm9uR14TcdQ=

10
.vscode/settings.json vendored
View File

@ -1,10 +0,0 @@
{
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"files.eol": "\n",
"editor.tabSize": 2,
"editor.wordWrap": "on",
"editor.renderIndentGuides": true,
"editor.minimap.enabled": true,
"editor.minimap.renderCharacters": false
}

View File

@ -1,5 +1,6 @@
{ {
"name": "emoji-cheat-sheet-generator", "name": "emoji-cheat-sheet-generator",
"version": "0.0.0-dev",
"private": true, "private": true,
"author": "ikatyang", "author": "ikatyang",
"license": "MIT", "license": "MIT",
@ -9,7 +10,19 @@
"generate": "node ./scripts/generate.js" "generate": "node ./scripts/generate.js"
}, },
"dependencies": { "dependencies": {
"cheerio": "0.22.0", "cheerio": "^0.22.0",
"request": "2.81.0" "request": "^2.81.0"
},
"devDependencies": {
"@types/cheerio": "0.22.2",
"@types/jest": "20.0.2",
"@types/request": "0.0.47",
"jest": "20.0.4",
"jest-playback": "1.0.0",
"ts-jest": "20.0.7",
"ts-node": "3.2.0",
"tslint": "5.5.0",
"tslint-config-ikatyang": "0.10.0",
"typescript": "2.4.1"
} }
} }

8
tsconfig.json Normal file
View File

@ -0,0 +1,8 @@
{
"compilerOptions": {
"strict": true,
"lib": ["es6"],
"module": "commonjs"
},
"include": ["src/**/*.ts"]
}

3
tslint.json Normal file
View File

@ -0,0 +1,3 @@
{
"extends": "tslint-config-ikatyang"
}

2282
yarn.lock

File diff suppressed because it is too large Load Diff