Skip to content

Commit

Permalink
chore: remove yarn.lock
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker committed Jul 16, 2019
1 parent b739883 commit 1a20fb8
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 6,322 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# ignore file for git project
#
# update: wget -O .gitignore https://git.io/fjXI5
#

# Base on https://www.gitignore.io/api/node

### Node ###
Expand All @@ -8,6 +13,7 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
yarn.lock

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
Expand Down
2 changes: 1 addition & 1 deletion .huskyrc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
* config file for `husky`
*
* update: wget-O .huskyrc.js https://git.io/fhNpR
* update: wget -O .huskyrc.js https://git.io/fjVjy
* document: https://git.io/fhNph
*/

Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock=false
9 changes: 6 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
language: node_js
node_js:
- '8'
- '10'
- '12'
- "8"
- "10"
- "12"
sudo: false
cache: yarn
before_install:
- npm install --global yarn
install:
- yarn
script:
- yarn lint
- yarn build
Expand Down
19 changes: 10 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,22 @@
"url": "https://www.fiskercheung.com/"
},
"scripts": {
"dev": "rollup --config --watch",
"clean": "rm -rf lib",
"build": "run-p build:*",
"build:js": "rollup --config",
"test": "jest",
"test-coverage": "jest --coverage",
"lint": "run-p lint:*",
"lint:eslint": "eslint **/*.{js,mjs,vue}",
"lint:markdown": "markdownlint **/*.md --ignore \"**/node_modules/**\"",
"release": "run-s clean lint build test format dist",
"clean": "rm -rf lib",
"dev": "rollup --config --watch",
"dist": "run-p dist:*",
"dist:npm": "np --yolo --no-yarn",
"format": "run-p format:*",
"format:eslint": "yarn lint:eslint --fix",
"format:prettier": "prettier **/*.{css,html,js,json,less,md,scss,ts,vue,yaml,yml} --write"
"format:prettier": "prettier \"**/*.{css,html,js,json,less,md,scss,ts,vue,yaml,yml}\" --write",
"lint": "run-p lint:*",
"lint:eslint": "eslint \"**/*.{js,mjs,vue}\"",
"lint:markdown": "markdownlint \"**/*.md\" --ignore \"**/node_modules/**\"",
"lint:prettier": "prettier \"**/*.{css,html,js,json,less,md,scss,ts,vue,yaml,yml}\" --check",
"release": "run-s clean lint build test format dist",
"test": "jest",
"test-coverage": "jest --coverage"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
Expand Down

0 comments on commit 1a20fb8

Please sign in to comment.