Skip to content

Commit 3a79fff

Browse files
committed
chore(travis): initial CI
1 parent d8e5747 commit 3a79fff

File tree

3 files changed

+22
-6
lines changed

3 files changed

+22
-6
lines changed

.travis.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
sudo: false
2+
language: node_js
3+
cache:
4+
directories:
5+
- node_modules
6+
notifications:
7+
email: false
8+
node_js:
9+
- 6
10+
- 4
11+
before_install:
12+
- npm i -g npm
13+
before_script:
14+
- npm prune
15+
after_success:
16+
- npm run semantic-release

package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
{
22
"name": "@easy-webpack/assign",
3-
"version": "1.0.0",
43
"description": "Easily deep assign objects and merge arrays inside of them",
54
"main": "dist/index.js",
5+
"typings": "dist/index.d.ts",
66
"scripts": {
77
"test": "TS_NODE_FAST=true TS_NODE_NO_PROJECT=true ava",
8-
"prepublish": "tsc -p ."
8+
"prepublish": "rimraf dist && tsc -p .",
9+
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
910
},
1011
"repository": {
1112
"type": "git",
12-
"url": "git+https://github.com/easy-webpack/assign.git"
13+
"url": "https://github.com/easy-webpack/assign.git"
1314
},
1415
"keywords": [
1516
"object.assign",
@@ -29,14 +30,14 @@
2930
"homepage": "https://github.com/easy-webpack/assign#readme",
3031
"devDependencies": {
3132
"ava": "^0.15.2",
33+
"rimraf": "^2.5.2",
3234
"semantic-release": "^4.3.5",
3335
"ts-node": "^0.9.1",
3436
"tslint": "^3.11.0",
3537
"tslint-config-standard": "^1.2.2",
3638
"typescript": ">=1.9.0-dev || ^2.0.0"
3739
},
38-
"dependencies": {
39-
},
40+
"dependencies": {},
4041
"ava": {
4142
"files": [
4243
"test/**/*.{ts,js}"

tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
"declaration": true,
99
"outDir": "dist",
1010
"rootDir": "src",
11-
"sourceRoot": "src",
1211
"sourceMap": true
1312
},
1413
"exclude": [

0 commit comments

Comments
 (0)