Skip to content

Commit a05e7f8

Browse files
committed
cleanup
1 parent 2e084ac commit a05e7f8

17 files changed

+28
-302
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ build/Release
3232
# Dependency directories
3333
node_modules
3434
jspm_packages
35+
release
3536

3637
# Optional npm cache directory
3738
.npm
3839

3940
# Optional REPL history
4041
.node_repl_history
41-
release

package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22
"name": "redux-observable-decorator",
33
"version": "0.0.8",
44
"description": "Decorators for Redux Observable",
5-
"main": "bundles/redux-observable-decorator.umd.js",
6-
"module": "index.js",
5+
"main": "./release/index.js",
6+
"files": [
7+
"release"
8+
],
9+
"typings": "./release/index.d.ts",
710
"scripts": {
811
"test": "karma start --single-run",
9-
"build": "npm run build:js && npm run build:umd && npm run build:uglify",
12+
"build": "npm run build:js",
1013
"build:js": "ngc -p tsconfig.dist.json",
11-
"build:umd": "rollup -c rollup.config.js",
12-
"build:uglify": "uglifyjs -c --screw-ie8 --comments -o ./release/bundles/redux-observable-decorator.min.umd.js ./release/bundles/redux-observable-decorator.umd.js",
1314
"prebuild": "npm run test && npm run clean:pre",
14-
"copy": "cpy LICENSE package.json README.md release",
15-
"postbuild": "npm run clean:post && npm run copy",
15+
"postbuild": "npm run clean:post",
1616
"clean:pre": "rimraf release",
17-
"clean:post": "rimraf index.ngsummary.json",
17+
"clean:post": "rimraf **/*.ngsummary.json",
1818
"postversion": "npm run build"
1919
},
2020
"repository": {
@@ -27,6 +27,10 @@
2727
"url": "https://github.com/e-schultz/redux-observable-decorator/issues"
2828
},
2929
"homepage": "https://github.com/e-schultz/redux-observable-decorator#readme",
30+
"peerDependencies": {
31+
"redux": "3.*",
32+
"redux-observable": "^0.10.0 || ^0.11.0 || ^0.12.0"
33+
},
3034
"devDependencies": {
3135
"@angular/common": "^2.4.0",
3236
"@angular/compiler": "^2.4.0",
@@ -39,8 +43,6 @@
3943
"@types/node": "^6.0.52",
4044
"awesome-typescript-loader": "^3.0.0-beta.17",
4145
"core-js": "^2.4.1",
42-
"cpy": "^5.0.0",
43-
"cpy-cli": "^1.0.1",
4446
"istanbul-instrumenter-loader": "^1.1.0",
4547
"jasmine-core": "^2.5.2",
4648
"karma": "^1.3.0",
@@ -55,8 +57,6 @@
5557
"redux-observable": "^0.12.2",
5658
"reflect-metadata": "^0.1.8",
5759
"rimraf": "^2.5.4",
58-
"rollup": "^0.37.2",
59-
"rollup-plugin-typescript": "^0.8.1",
6060
"rxjs": "^5.0.1",
6161
"ts-loader": "^1.3.3",
6262
"tslint": "^4.1.1",

release/LICENSE

Lines changed: 0 additions & 21 deletions
This file was deleted.

release/README.md

Lines changed: 0 additions & 86 deletions
This file was deleted.

release/bundles/redux-observable-decorator.min.umd.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

release/bundles/redux-observable-decorator.umd.js

Lines changed: 0 additions & 47 deletions
This file was deleted.

release/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export { Epic, createEpics, EpicMetadata, getEpicsMetadata } from './src/epic-decorator';
1+
export { Epic, createEpics, EpicMetadata, getEpicsMetadata } from './epic-decorator';

release/index.js

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

release/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

release/index.metadata.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)