Skip to content

Commit

Permalink
1.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
heifade committed Oct 23, 2018
1 parent dbf33dd commit e739ff4
Show file tree
Hide file tree
Showing 7 changed files with 2,961 additions and 295 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@ sudo: enabled
node_js:
- "8"
before_script:
- npm i pcreate
- pcreate test -c
- happywork-node-builder test --coveralls
script:
- pcreate build
- npm run build
after_script:

cache:
Expand Down
21 changes: 21 additions & 0 deletions build.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import { BuildConfig } from "happywork-node-builder";

const config: BuildConfig = {
input: "src/index.ts",
output: [
{
dir: "es",
file: "index.js",
format: "es"
},
{
dir: "lib",
file: "index.js",
format: "cjs"
}
],
external: [],
mini: false
};

export default config;
266 changes: 0 additions & 266 deletions package-lock.json

This file was deleted.

16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
"name": "fs-i",
"version": "1.2.2",
"version": "1.2.3",
"description": "file tools",
"main": "./es/index.js",
"main": "./lib/index.js",
"module": "./es/index.js",
"typings": "./es/index",
"files": [
"es"
"es",
"lib"
],
"repository": {
"type": "git",
"url": "git+https://github.com/heifade/fs-i.git"
},
"scripts": {
"build": "pcreate build",
"start": "pcreate build && node ./es/index.js",
"test": "pcreate test"
"build": "happywork-node-builder build --doc",
"test": "happywork-node-builder test"
},
"keywords": [],
"author": "",
Expand All @@ -24,8 +24,8 @@
"@types/chai": "^4.1.0",
"@types/mocha": "^2.2.46",
"chai": "^4.1.2",
"mocha": "^4.1.0",
"pcreate-config": "^1.1.2"
"happywork-node-builder": "^1.0.45",
"mocha": "^4.1.0"
},
"dependencies": {}
}
18 changes: 0 additions & 18 deletions project-config.ts

This file was deleted.

8 changes: 8 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"compilerOptions": {
"allowJs": true,
"lib": ["es2015", "es2015.promise"],
"allowSyntheticDefaultImports": true,
"moduleResolution": "node"
}
}

0 comments on commit e739ff4

Please sign in to comment.