Skip to content

Commit

Permalink
fix(deps): bump dependencies, simplify build usage
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin committed Sep 10, 2019
1 parent d189670 commit b39fb14
Show file tree
Hide file tree
Showing 6 changed files with 123 additions and 182 deletions.
8 changes: 0 additions & 8 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
const { overrides } = require('@1stg/eslint-config/overrides')
const tsNode = require('ts-node')

tsNode.register({
transpileOnly: true,
compilerOptions: {
module: 'commonjs',
},
})

module.exports = {
extends: '@1stg',
Expand Down
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ before_install:

install: yarn --frozen-lockfile

script:
- yarn lint
- yarn build
script: yarn lint

deploy:
provider: script
Expand Down
25 changes: 14 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,30 +5,35 @@
"repository": "git@github.com:JounQin/remark-preset-prettier.git",
"author": "JounQin <admin@1stg.me>",
"license": "MIT",
"main": "lib/cjs.js",
"module": "lib/esm.js",
"es2015": "lib/index.js",
"types": "lib/index.d.ts",
"engines": {
"node": ">=6.9.0"
},
"main": "lib/cjs",
"module": "lib",
"fesm5": "lib/esm",
"es2015": "lib/es2015",
"types": "lib",
"files": [
"lib",
"src"
],
"scripts": {
"prelint": "yarn build",
"lint": "eslint . --ext js,md,ts",
"build:ts": "tsc -b",
"build:bundle": "rollup -c",
"build:bundle": "rollup -c node_modules/@1stg/rollup-config/module.js",
"build": "rimraf lib && run-p build:*"
},
"peerDependencies": {
"prettier": ">=1.0.0"
},
"devDependencies": {
"@1stg/babel-preset": "^0.6.0",
"@1stg/eslint-config": "^0.9.1",
"@1stg/eslint-config": "^0.9.2",
"@1stg/husky-config": "^0.3.0",
"@1stg/lint-staged": "^0.6.0",
"@1stg/prettier-config": "^0.2.0",
"@1stg/rollup-config": "^0.7.0",
"@1stg/rollup-config": "^0.8.0",
"@1stg/tsconfig": "^0.5.0",
"@babel/core": "^7.6.0",
"@commitlint/cli": "^8.1.0",
Expand All @@ -41,11 +46,9 @@
"remark-preset-lint-consistent": "^2.0.3",
"remark-preset-lint-markdown-style-guide": "^2.1.3",
"remark-preset-lint-recommended": "^3.0.3",
"remark-preset-prettier": "link:src",
"remark-preset-prettier": "link:.",
"rimraf": "^3.0.0",
"rollup": "^1.20.3",
"ts-node": "^8.3.0",
"tslib": "^1.10.0",
"rollup": "^1.21.2",
"typescript": "^3.6.2",
"unified": "^8.3.2"
}
Expand Down
5 changes: 0 additions & 5 deletions rollup.config.js

This file was deleted.

3 changes: 1 addition & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"extends": "@1stg/tsconfig",
"compilerOptions": {
"baseUrl": ".",
"outDir": "lib",
"target": "es2015"
"outDir": "lib"
}
}

0 comments on commit b39fb14

Please sign in to comment.