Skip to content

Commit

Permalink
Dts bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
ismail-codar committed Sep 26, 2017
1 parent ead7c94 commit 66b10d4
Show file tree
Hide file tree
Showing 12 changed files with 39 additions and 52 deletions.
1 change: 1 addition & 0 deletions all.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { classes, SClassType } from './class';
import { SDragEventType } from './drag';
import { onkey, SKeyboardEventType } from './keyboard';
import { onmouse, SMouseEventType } from './mouse';
import { ondrag } from './drag';
import S from 's-js';

export const addEvents = (node: Node, arg: any) => {
Expand Down
16 changes: 0 additions & 16 deletions dist/all.d.ts

This file was deleted.

4 changes: 0 additions & 4 deletions dist/attribute.d.ts

This file was deleted.

5 changes: 0 additions & 5 deletions dist/class.d.ts

This file was deleted.

4 changes: 0 additions & 4 deletions dist/drag.d.ts

This file was deleted.

7 changes: 0 additions & 7 deletions dist/index.d.ts

This file was deleted.

4 changes: 0 additions & 4 deletions dist/keyboard.d.ts

This file was deleted.

2 changes: 1 addition & 1 deletion dist/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions dist/mouse.d.ts

This file was deleted.

35 changes: 35 additions & 0 deletions dist/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"author": "ismail codar",
"dependencies": {
"s-js": "^0.4.5",
"surplus": "^0.5.0-beta1"
},
"description": "Some surplus mixins",
"devDependencies": {
"@types/node": "^8.0.28",
"awesome-typescript-loader": "^3.2.3",
"babel-preset-env": "^1.6.0",
"loglevel": "^1.5.0",
"webpack": "^3.6.0",
"webpack-bundle-analyzer": "^2.9.0",
"webpack-dev-server": "^2.8.2"
},
"license": "MIT",
"main": "main.js",
"types": "main.d.ts",
"scripts": {
"build": "webpack -p",
"build:dts":
"dts-bundle --removeSource --name surplus-mixins --main dist/index.d.ts --out main.d.ts"
},
"version": "1.0.0",
"repository": {
"type": "git",
"url": "git+https://github.com/ismail-codar/surplus-mixins.git"
},
"keywords": [],
"bugs": {
"url": "https://github.com/ismail-codar/surplus-mixins/issues"
},
"homepage": "https://github.com/ismail-codar/surplus-mixins#readme"
}
5 changes: 0 additions & 5 deletions dist/style.d.ts

This file was deleted.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"types": "./dist/main.d.ts",
"scripts": {
"build": "webpack -p",
"dtsbundle":
"dts-bundle --name surplus-mixins --main dist/index.d.ts --out main.d.ts"
"build:dts":
"dts-bundle --removeSource --name surplus-mixins --main dist/index.d.ts --out main.d.ts"
},
"version": "1.0.0",
"repository": {
Expand Down

0 comments on commit 66b10d4

Please sign in to comment.