prismarine-entity 0.2.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,11 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: npm
4
+ directory: "/"
5
+ schedule:
6
+ interval: daily
7
+ open-pull-requests-limit: 10
8
+ ignore:
9
+ - dependency-name: "@types/node"
10
+ versions:
11
+ - 15.0.0
@@ -0,0 +1,25 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches: [ master ]
6
+ pull_request:
7
+ branches: [ master ]
8
+
9
+ jobs:
10
+ build:
11
+
12
+ runs-on: ubuntu-latest
13
+
14
+ strategy:
15
+ matrix:
16
+ node-version: [12.x]
17
+
18
+ steps:
19
+ - uses: actions/checkout@v2
20
+ - name: Use Node.js ${{ matrix.node-version }}
21
+ uses: actions/setup-node@v1
22
+ with:
23
+ node-version: ${{ matrix.node-version }}
24
+ - run: npm install
25
+ - run: npm test
@@ -0,0 +1,25 @@
1
+ name: npm-publish
2
+ on:
3
+ push:
4
+ branches:
5
+ - master # Change this to your default branch
6
+ jobs:
7
+ npm-publish:
8
+ name: npm-publish
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: Checkout repository
12
+ uses: actions/checkout@master
13
+ - name: Set up Node.js
14
+ uses: actions/setup-node@master
15
+ with:
16
+ node-version: 10.0.0
17
+ - name: Publish if version has been updated
18
+ uses: pascalgn/npm-publish-action@4f4bf159e299f65d21cd1cbd96fc5d53228036df
19
+ with: # All of theses inputs are optional
20
+ tag_name: "%s"
21
+ tag_message: "%s"
22
+ commit_pattern: "^Release (\\S+)"
23
+ env: # More info about the environment variables in the README
24
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Leave this as is, it's automatically generated
25
+ NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} # You need to set this in your repo settings
package/README.md CHANGED
@@ -1,16 +1,16 @@
1
1
  # prismarine-entity
2
2
  [![NPM version](https://img.shields.io/npm/v/prismarine-entity.svg)](http://npmjs.com/package/prismarine-entity)
3
+ [![Build Status](https://github.com/PrismarineJS/prismarine-entity/workflows/CI/badge.svg)](https://github.com/PrismarineJS/prismarine-entity/actions?query=workflow%3A%22CI%22)
3
4
 
4
5
  Represent a minecraft entity
5
6
 
6
7
  ## Usage
7
8
 
8
9
  ```js
9
- var Entity=require("prismarine-entity");
10
+ const Entity = require("prismarine-entity")
10
11
 
11
- var entity=new Entity(0);
12
-
13
- console.log(entity);
12
+ const entity = new Entity(0)
13
+ console.log(entity)
14
14
  ```
15
15
 
16
16
  ## API
@@ -75,6 +75,8 @@ get from collecting the orb.
75
75
 
76
76
  #### entity.height
77
77
 
78
+ #### entity.width
79
+
78
80
  #### entity.onGround
79
81
 
80
82
  #### entity.equipment[5]
@@ -94,20 +96,48 @@ Equivalent to `entity.equipment[0]`.
94
96
 
95
97
  See http://wiki.vg/Entities#Entity_Metadata_Format for more details.
96
98
 
99
+ #### entity.noClip
100
+
101
+ #### entity.vehicle
102
+
103
+ Entity that this entity is riding on
104
+
105
+ #### entity.passenger
106
+
107
+ Entity that is riding on this entity
108
+
97
109
  #### entity.health
110
+
98
111
  The health of the player, default: 20
99
112
 
100
113
  #### entity.food
114
+
101
115
  The food of the player, default: 20
102
116
 
103
117
  #### entity.player
118
+
104
119
  The player
105
120
 
106
121
  ## History
107
122
 
123
+ ### 1.2.0
124
+
125
+ * Add food saturation to typings
126
+ * Add id to typings
127
+ * Add effects to typings
128
+
129
+ ### 1.1.0
130
+
131
+ * Added entity width property
132
+
133
+ ### 1.0.0
134
+
135
+ * typescript definitions (thanks @IdanHo)
136
+
108
137
  ### 0.2.0
138
+
109
139
  * extend EventEmitter
110
140
 
111
141
  ### 0.1.0
112
142
 
113
- * Import from mineflayer
143
+ * Import from mineflayer
package/example.js CHANGED
@@ -1,5 +1,5 @@
1
- var Entity=require("./");
1
+ const Entity = require('prismarine-entity')('1.8.9')
2
2
 
3
- var entity=new Entity(0);
3
+ const entity = new Entity(0)
4
4
 
5
- console.log(entity);
5
+ console.log(entity)
package/index.d.ts ADDED
@@ -0,0 +1,50 @@
1
+ /// <reference types="node" />
2
+ /// <reference types="vec3" />
3
+ /// <reference types="prismarine-item" />
4
+
5
+ import {EventEmitter} from 'events';
6
+ import { Vec3 } from 'vec3';
7
+ import { Item } from 'prismarine-item';
8
+ import { ChatMessage } from 'prismarine-chat';
9
+
10
+ declare module 'prismarine-entity' {
11
+ export interface Effect {
12
+ id: number;
13
+ amplifier: number;
14
+ duration: number;
15
+ }
16
+
17
+ export class Entity extends EventEmitter {
18
+ constructor(id: number);
19
+ id: number;
20
+ type: EntityType;
21
+ username?: string;
22
+ mobType?: string;
23
+ displayName?: string;
24
+ entityType?: number;
25
+ kind?: string;
26
+ name?: string;
27
+ objectType?: string;
28
+ count?: number;
29
+ position: Vec3;
30
+ velocity: Vec3;
31
+ yaw: number;
32
+ pitch: number;
33
+ height: number;
34
+ width: number;
35
+ onGround: boolean;
36
+ equipment: Array<Item>;
37
+ heldItem: Item;
38
+ metadata: Array<object>;
39
+ isValid: boolean;
40
+ health?: number;
41
+ food?: number;
42
+ foodSaturation?: number;
43
+ player?: object;
44
+ effects: Effect[];
45
+ setEquipment(index: number, item: Item): void;
46
+ getCustomName(): ChatMessage | null;
47
+ }
48
+
49
+ export type EntityType = 'player' | 'mob' | 'object' | 'global' | 'orb' | 'other';
50
+ }
package/index.js CHANGED
@@ -1,29 +1,40 @@
1
- var Vec3 = require('vec3').Vec3;
2
- var util = require('util');
3
- var EventEmitter = require('events').EventEmitter;
1
+ const Vec3 = require('vec3').Vec3
2
+ const EventEmitter = require('events').EventEmitter
4
3
 
5
- module.exports = Entity;
4
+ module.exports = (version) => {
5
+ const ChatMessage = require('prismarine-chat')(version)
6
+ class Entity extends EventEmitter {
7
+ constructor (id) {
8
+ super()
9
+ this.id = id
10
+ this.position = new Vec3(0, 0, 0)
11
+ this.velocity = new Vec3(0, 0, 0)
12
+ this.yaw = 0
13
+ this.pitch = 0
14
+ this.onGround = true
15
+ this.height = 0
16
+ this.width = 0
17
+ this.effects = {}
18
+ // 0 = held item, 1-4 = armor slot
19
+ this.equipment = new Array(5)
20
+ this.heldItem = this.equipment[0] // shortcut to equipment[0]
21
+ this.isValid = true
22
+ this.metadata = []
23
+ }
6
24
 
7
- function Entity(id) {
8
- EventEmitter.call(this);
9
- this.id = id;
10
- this.type = null;
11
- this.position = new Vec3(0, 0, 0);
12
- this.velocity = new Vec3(0, 0, 0);
13
- this.yaw = 0;
14
- this.pitch = 0;
15
- this.onGround = true;
16
- this.height = 0;
17
- this.effects = {};
18
- // 0 = held item, 1-4 = armor slot
19
- this.equipment = new Array(5);
20
- this.heldItem = this.equipment[0]; // shortcut to equipment[0]
21
- this.isValid = true;
22
- this.metadata = [];
23
- }
24
- util.inherits(Entity, EventEmitter);
25
+ setEquipment (index, item) {
26
+ this.equipment[index] = item
27
+ this.heldItem = this.equipment[0]
28
+ }
29
+
30
+ getCustomName () {
31
+ const name = this.metadata[2]
32
+ if (name === undefined) {
33
+ return null
34
+ }
35
+ return ChatMessage.fromNotch(name)
36
+ }
37
+ }
25
38
 
26
- Entity.prototype.setEquipment = function(index, item) {
27
- this.equipment[index] = item;
28
- this.heldItem = this.equipment[0];
29
- };
39
+ return Entity
40
+ }
package/package.json CHANGED
@@ -1,17 +1,20 @@
1
1
  {
2
2
  "name": "prismarine-entity",
3
- "version": "0.2.0",
3
+ "version": "2.0.0",
4
4
  "description": "Represent a minecraft entity",
5
5
  "main": "index.js",
6
+ "types": "index.d.ts",
6
7
  "scripts": {
7
- "test": "echo \"Error: no test specified\" && exit 1"
8
+ "test": "npm run lint",
9
+ "lint": "standard"
8
10
  },
9
11
  "repository": {
10
12
  "type": "git",
11
13
  "url": "https://github.com/PrismarineJS/prismarine-entity.git"
12
14
  },
13
- "dependencies":{
14
- "vec3":"~0.1.3"
15
+ "dependencies": {
16
+ "vec3": "^0.1.4",
17
+ "prismarine-chat": "^1.4.1"
15
18
  },
16
19
  "keywords": [
17
20
  "minecraft",
@@ -22,5 +25,11 @@
22
25
  "license": "MIT",
23
26
  "bugs": {
24
27
  "url": "https://github.com/PrismarineJS/prismarine-entity/issues"
28
+ },
29
+ "devDependencies": {
30
+ "@types/node": "^17.0.4",
31
+ "prismarine-item": "^1.4.0",
32
+ "standard": "^16.0.1",
33
+ "prismarine-entity": "file:."
25
34
  }
26
35
  }
package/.idea/.name DELETED
@@ -1 +0,0 @@
1
- prismarine-entity
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="Encoding">
4
- <file url="PROJECT" charset="UTF-8" />
5
- </component>
6
- </project>
@@ -1,8 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="JavaScriptLibraryMappings">
4
- <file url="file://$PROJECT_DIR$" libraries="{prismarine-entity node_modules}" />
5
- <includedPredefinedLibrary name="Node.js Core" />
6
- <excludedPredefinedLibrary name="HTML" />
7
- </component>
8
- </project>
@@ -1,14 +0,0 @@
1
- <component name="libraryTable">
2
- <library name="prismarine-entity node_modules" type="javaScript">
3
- <properties>
4
- <option name="frameworkName" value="node_modules" />
5
- <sourceFilesUrls>
6
- <item url="file://$PROJECT_DIR$/node_modules" />
7
- </sourceFilesUrls>
8
- </properties>
9
- <CLASSES>
10
- <root url="file://$PROJECT_DIR$/node_modules" />
11
- </CLASSES>
12
- <SOURCES />
13
- </library>
14
- </component>
package/.idea/misc.xml DELETED
@@ -1,13 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectLevelVcsManager" settingsEditedManually="false">
4
- <OptionsSetting value="true" id="Add" />
5
- <OptionsSetting value="true" id="Remove" />
6
- <OptionsSetting value="true" id="Checkout" />
7
- <OptionsSetting value="true" id="Update" />
8
- <OptionsSetting value="true" id="Status" />
9
- <OptionsSetting value="true" id="Edit" />
10
- <ConfirmationsSetting value="0" id="Add" />
11
- <ConfirmationsSetting value="0" id="Remove" />
12
- </component>
13
- </project>
package/.idea/modules.xml DELETED
@@ -1,8 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectModuleManager">
4
- <modules>
5
- <module fileurl="file://$PROJECT_DIR$/.idea/prismarine-entity.iml" filepath="$PROJECT_DIR$/.idea/prismarine-entity.iml" />
6
- </modules>
7
- </component>
8
- </project>
@@ -1,10 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="WEB_MODULE" version="4">
3
- <component name="NewModuleRootManager">
4
- <content url="file://$MODULE_DIR$" />
5
- <orderEntry type="inheritedJdk" />
6
- <orderEntry type="sourceFolder" forTests="false" />
7
- <orderEntry type="library" name="Node.js v0.10.25 Core Modules" level="application" />
8
- <orderEntry type="library" name="prismarine-entity node_modules" level="project" />
9
- </component>
10
- </module>
package/.idea/vcs.xml DELETED
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="VcsDirectoryMappings">
4
- <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
- </component>
6
- </project>
@@ -1,368 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ChangeListManager">
4
- <list default="true" id="5095ce3b-0e24-4daa-b7da-b7e4a4705847" name="Default" comment="">
5
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/README.md" afterPath="$PROJECT_DIR$/README.md" />
6
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/package.json" afterPath="$PROJECT_DIR$/package.json" />
7
- </list>
8
- <ignored path="prismarine-entity.iws" />
9
- <ignored path=".idea/workspace.xml" />
10
- <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
11
- <option name="TRACKING_ENABLED" value="true" />
12
- <option name="SHOW_DIALOG" value="false" />
13
- <option name="HIGHLIGHT_CONFLICTS" value="true" />
14
- <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
15
- <option name="LAST_RESOLUTION" value="IGNORE" />
16
- </component>
17
- <component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
18
- <component name="CreatePatchCommitExecutor">
19
- <option name="PATCH_PATH" value="" />
20
- </component>
21
- <component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
22
- <component name="FavoritesManager">
23
- <favorites_list name="prismarine-entity" />
24
- </component>
25
- <component name="FileEditorManager">
26
- <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
27
- <file leaf-file-name="README.md" pinned="false" current-in-tab="false">
28
- <entry file="file://$PROJECT_DIR$/README.md">
29
- <provider editor-type-id="MarkdownPreviewEditor">
30
- <state />
31
- </provider>
32
- <provider selected="true" editor-type-id="text-editor">
33
- <state vertical-scroll-proportion="-15.571428">
34
- <caret line="108" column="21" selection-start-line="108" selection-start-column="21" selection-end-line="108" selection-end-column="21" />
35
- <folding />
36
- </state>
37
- </provider>
38
- </entry>
39
- </file>
40
- <file leaf-file-name="example.js" pinned="false" current-in-tab="false">
41
- <entry file="file://$PROJECT_DIR$/example.js">
42
- <provider selected="true" editor-type-id="text-editor">
43
- <state vertical-scroll-proportion="0.0">
44
- <caret line="4" column="20" selection-start-line="4" selection-start-column="20" selection-end-line="4" selection-end-column="20" />
45
- <folding />
46
- </state>
47
- </provider>
48
- </entry>
49
- </file>
50
- <file leaf-file-name=".gitignore" pinned="false" current-in-tab="false">
51
- <entry file="file://$PROJECT_DIR$/.gitignore">
52
- <provider selected="true" editor-type-id="text-editor">
53
- <state vertical-scroll-proportion="0.0">
54
- <caret line="0" column="13" selection-start-line="0" selection-start-column="13" selection-end-line="0" selection-end-column="13" />
55
- <folding />
56
- </state>
57
- </provider>
58
- </entry>
59
- </file>
60
- <file leaf-file-name="package.json" pinned="false" current-in-tab="true">
61
- <entry file="file://$PROJECT_DIR$/package.json">
62
- <provider selected="true" editor-type-id="text-editor">
63
- <state vertical-scroll-proportion="0.040852576">
64
- <caret line="2" column="17" selection-start-line="2" selection-start-column="17" selection-end-line="2" selection-end-column="17" />
65
- <folding />
66
- </state>
67
- </provider>
68
- </entry>
69
- </file>
70
- <file leaf-file-name="index.js" pinned="false" current-in-tab="false">
71
- <entry file="file://$PROJECT_DIR$/index.js">
72
- <provider selected="true" editor-type-id="text-editor">
73
- <state vertical-scroll-proportion="0.0">
74
- <caret line="2" column="50" selection-start-line="2" selection-start-column="50" selection-end-line="2" selection-end-column="50" />
75
- <folding />
76
- </state>
77
- </provider>
78
- </entry>
79
- </file>
80
- </leaf>
81
- </component>
82
- <component name="Git.Settings">
83
- <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
84
- </component>
85
- <component name="IdeDocumentHistory">
86
- <option name="CHANGED_PATHS">
87
- <list>
88
- <option value="$PROJECT_DIR$/.gitignore" />
89
- <option value="$PROJECT_DIR$/example.js" />
90
- <option value="$PROJECT_DIR$/index.js" />
91
- <option value="$PROJECT_DIR$/README.md" />
92
- <option value="$PROJECT_DIR$/package.json" />
93
- </list>
94
- </option>
95
- </component>
96
- <component name="JsBuildToolGruntFileManager" detection-done="true" />
97
- <component name="JsBuildToolPackageJson" detection-done="true">
98
- <package-json value="$PROJECT_DIR$/package.json" />
99
- </component>
100
- <component name="JsGulpfileManager">
101
- <detection-done>true</detection-done>
102
- </component>
103
- <component name="ProjectFrameBounds">
104
- <option name="width" value="1920" />
105
- <option name="height" value="1050" />
106
- </component>
107
- <component name="ProjectLevelVcsManager" settingsEditedManually="true">
108
- <OptionsSetting value="true" id="Add" />
109
- <OptionsSetting value="true" id="Remove" />
110
- <OptionsSetting value="true" id="Checkout" />
111
- <OptionsSetting value="true" id="Update" />
112
- <OptionsSetting value="true" id="Status" />
113
- <OptionsSetting value="true" id="Edit" />
114
- <ConfirmationsSetting value="2" id="Add" />
115
- <ConfirmationsSetting value="0" id="Remove" />
116
- </component>
117
- <component name="ProjectView">
118
- <navigator currentView="ProjectPane" proportions="" version="1">
119
- <flattenPackages />
120
- <showMembers />
121
- <showModules />
122
- <showLibraryContents />
123
- <hideEmptyPackages />
124
- <abbreviatePackageNames />
125
- <autoscrollToSource />
126
- <autoscrollFromSource />
127
- <sortByType />
128
- <manualOrder />
129
- <foldersAlwaysOnTop value="true" />
130
- </navigator>
131
- <panes>
132
- <pane id="Scope" />
133
- <pane id="ProjectPane">
134
- <subPane>
135
- <PATH>
136
- <PATH_ELEMENT>
137
- <option name="myItemId" value="prismarine-entity" />
138
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
139
- </PATH_ELEMENT>
140
- </PATH>
141
- <PATH>
142
- <PATH_ELEMENT>
143
- <option name="myItemId" value="prismarine-entity" />
144
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
145
- </PATH_ELEMENT>
146
- <PATH_ELEMENT>
147
- <option name="myItemId" value="prismarine-entity" />
148
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
149
- </PATH_ELEMENT>
150
- </PATH>
151
- </subPane>
152
- </pane>
153
- <pane id="Scratches" />
154
- </panes>
155
- </component>
156
- <component name="PropertiesComponent">
157
- <property name="WebServerToolWindowFactoryState" value="false" />
158
- <property name="settings.editor.selected.configurable" value="JavaScript.Libraries" />
159
- <property name="settings.editor.splitter.proportion" value="0.2" />
160
- <property name="recentsLimit" value="5" />
161
- <property name="javascript.nodejs.core.library.configured.version" value="5.0.0" />
162
- <property name="nodejs_interpreter_path" value="/usr/local/bin/node" />
163
- </component>
164
- <component name="RunManager" selected="Node.js.example.js">
165
- <configuration default="false" name="example.js" type="NodeJSConfigurationType" factoryName="Node.js" temporary="true" path-to-node="/usr/bin/node" path-to-js-file="example.js" working-dir="$PROJECT_DIR$">
166
- <method />
167
- </configuration>
168
- <configuration default="true" type="BashConfigurationType" factoryName="Bash">
169
- <option name="INTERPRETER_OPTIONS" value="" />
170
- <option name="INTERPRETER_PATH" value="/bin/bash" />
171
- <option name="WORKING_DIRECTORY" value="" />
172
- <option name="PARENT_ENVS" value="true" />
173
- <option name="SCRIPT_NAME" value="" />
174
- <option name="PARAMETERS" value="" />
175
- <module name="" />
176
- <envs />
177
- <method />
178
- </configuration>
179
- <configuration default="true" type="DartCommandLineRunConfigurationType" factoryName="Dart Command Line Application">
180
- <method />
181
- </configuration>
182
- <configuration default="true" type="DartUnitRunConfigurationType" factoryName="DartUnit">
183
- <method />
184
- </configuration>
185
- <configuration default="true" type="JavaScriptTestRunnerKarma" factoryName="Karma" config-file="">
186
- <envs />
187
- <method />
188
- </configuration>
189
- <configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug">
190
- <method />
191
- </configuration>
192
- <configuration default="true" type="NodeJSConfigurationType" factoryName="Node.js" working-dir="">
193
- <method />
194
- </configuration>
195
- <configuration default="true" type="cucumber.js" factoryName="Cucumber.js">
196
- <option name="cucumberJsArguments" value="" />
197
- <option name="executablePath" />
198
- <option name="filePath" />
199
- <method />
200
- </configuration>
201
- <configuration default="true" type="js.build_tools.gulp" factoryName="Gulp.js">
202
- <node-options />
203
- <gulpfile />
204
- <tasks />
205
- <arguments />
206
- <envs />
207
- <method />
208
- </configuration>
209
- <list size="1">
210
- <item index="0" class="java.lang.String" itemvalue="Node.js.example.js" />
211
- </list>
212
- <recent_temporary>
213
- <list size="1">
214
- <item index="0" class="java.lang.String" itemvalue="Node.js.example.js" />
215
- </list>
216
- </recent_temporary>
217
- </component>
218
- <component name="ShelveChangesManager" show_recycled="false" />
219
- <component name="TaskManager">
220
- <task active="true" id="Default" summary="Default task">
221
- <changelist id="5095ce3b-0e24-4daa-b7da-b7e4a4705847" name="Default" comment="" />
222
- <created>1440959771937</created>
223
- <option name="number" value="Default" />
224
- <updated>1440959771937</updated>
225
- </task>
226
- <task id="LOCAL-00001" summary="Release 0.1.0">
227
- <created>1440960451553</created>
228
- <option name="number" value="00001" />
229
- <option name="project" value="LOCAL" />
230
- <updated>1440960451553</updated>
231
- </task>
232
- <task id="LOCAL-00002" summary="extend EventEmitter">
233
- <created>1448746337347</created>
234
- <option name="number" value="00002" />
235
- <option name="project" value="LOCAL" />
236
- <updated>1448746337347</updated>
237
- </task>
238
- <option name="localTasksCounter" value="3" />
239
- <servers />
240
- </component>
241
- <component name="ToolWindowManager">
242
- <frame x="0" y="0" width="1920" height="1050" extended-state="6" />
243
- <editor active="false" />
244
- <layout>
245
- <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.24907847" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
246
- <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
247
- <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
248
- <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
249
- <window_info id="Version Control" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.330076" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
250
- <window_info id="npm" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
251
- <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
252
- <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32951945" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
253
- <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
254
- <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
255
- <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
256
- <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
257
- <window_info id="Application Servers" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
258
- <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
259
- <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32951945" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
260
- <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
261
- <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
262
- <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
263
- <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
264
- </layout>
265
- </component>
266
- <component name="VcsContentAnnotationSettings">
267
- <option name="myLimit" value="2678400000" />
268
- </component>
269
- <component name="VcsManagerConfiguration">
270
- <option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="false" />
271
- <option name="CHECK_NEW_TODO" value="false" />
272
- <MESSAGE value="Release 0.1.0" />
273
- <MESSAGE value="extend EventEmitter" />
274
- <option name="LAST_COMMIT_MESSAGE" value="extend EventEmitter" />
275
- </component>
276
- <component name="XDebuggerManager">
277
- <breakpoint-manager />
278
- <watches-manager />
279
- </component>
280
- <component name="editorHistoryManager">
281
- <entry file="file://$PROJECT_DIR$/README.md">
282
- <provider editor-type-id="MarkdownPreviewEditor">
283
- <state />
284
- </provider>
285
- <provider selected="true" editor-type-id="text-editor">
286
- <state vertical-scroll-proportion="0.0">
287
- <caret line="6" column="0" selection-start-line="6" selection-start-column="0" selection-end-line="6" selection-end-column="0" />
288
- <folding />
289
- </state>
290
- </provider>
291
- </entry>
292
- <entry file="file://$PROJECT_DIR$/example.js">
293
- <provider selected="true" editor-type-id="text-editor">
294
- <state vertical-scroll-proportion="0.0">
295
- <caret line="4" column="20" selection-start-line="4" selection-start-column="20" selection-end-line="4" selection-end-column="20" />
296
- <folding />
297
- </state>
298
- </provider>
299
- </entry>
300
- <entry file="file://$PROJECT_DIR$/.gitignore">
301
- <provider selected="true" editor-type-id="text-editor">
302
- <state vertical-scroll-proportion="0.0">
303
- <caret line="0" column="13" selection-start-line="0" selection-start-column="13" selection-end-line="0" selection-end-column="13" />
304
- <folding />
305
- </state>
306
- </provider>
307
- </entry>
308
- <entry file="file://$PROJECT_DIR$/package.json">
309
- <provider selected="true" editor-type-id="text-editor">
310
- <state vertical-scroll-proportion="0.0">
311
- <caret line="25" column="1" selection-start-line="25" selection-start-column="1" selection-end-line="25" selection-end-column="1" />
312
- <folding />
313
- </state>
314
- </provider>
315
- </entry>
316
- <entry file="file://$PROJECT_DIR$/index.js">
317
- <provider selected="true" editor-type-id="text-editor">
318
- <state vertical-scroll-proportion="0.0">
319
- <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
320
- <folding />
321
- </state>
322
- </provider>
323
- </entry>
324
- <entry file="file://$PROJECT_DIR$/.gitignore">
325
- <provider selected="true" editor-type-id="text-editor">
326
- <state vertical-scroll-proportion="0.0">
327
- <caret line="0" column="13" selection-start-line="0" selection-start-column="13" selection-end-line="0" selection-end-column="13" />
328
- <folding />
329
- </state>
330
- </provider>
331
- </entry>
332
- <entry file="file://$PROJECT_DIR$/example.js">
333
- <provider selected="true" editor-type-id="text-editor">
334
- <state vertical-scroll-proportion="0.0">
335
- <caret line="4" column="20" selection-start-line="4" selection-start-column="20" selection-end-line="4" selection-end-column="20" />
336
- <folding />
337
- </state>
338
- </provider>
339
- </entry>
340
- <entry file="file://$PROJECT_DIR$/index.js">
341
- <provider selected="true" editor-type-id="text-editor">
342
- <state vertical-scroll-proportion="0.0">
343
- <caret line="2" column="50" selection-start-line="2" selection-start-column="50" selection-end-line="2" selection-end-column="50" />
344
- <folding />
345
- </state>
346
- </provider>
347
- </entry>
348
- <entry file="file://$PROJECT_DIR$/README.md">
349
- <provider editor-type-id="MarkdownPreviewEditor">
350
- <state />
351
- </provider>
352
- <provider selected="true" editor-type-id="text-editor">
353
- <state vertical-scroll-proportion="-15.571428">
354
- <caret line="108" column="21" selection-start-line="108" selection-start-column="21" selection-end-line="108" selection-end-column="21" />
355
- <folding />
356
- </state>
357
- </provider>
358
- </entry>
359
- <entry file="file://$PROJECT_DIR$/package.json">
360
- <provider selected="true" editor-type-id="text-editor">
361
- <state vertical-scroll-proportion="0.040852576">
362
- <caret line="2" column="17" selection-start-line="2" selection-start-column="17" selection-end-line="2" selection-end-column="17" />
363
- <folding />
364
- </state>
365
- </provider>
366
- </entry>
367
- </component>
368
- </project>
package/.npmignore DELETED
@@ -1 +0,0 @@
1
- node_modules/