1 |
|
2 | name: \webworker-threads
|
3 | version: \0.7.17
|
4 | main: \index.js
|
5 | description: 'Lightweight Web Worker API implementation with native threads'
|
6 | keywords: [ 'threads' 'web worker' 'a gogo' ]
|
7 | author:
|
8 | name: 'Audrey Tang'
|
9 | email: \audreyt@audreyt.org
|
10 | twitter: \audreyt
|
11 | homepage: \https://github.com/audreyt/node-webworker-threads
|
12 | bugs:
|
13 | url: \http://github.com/audreyt/node-webworker-threads/issues
|
14 | email: \audreyt@audreyt.org
|
15 | license: "(MIT AND Apache-2.0)"
|
16 | licenses: [
|
17 | { type: "Apache License, Version 2.0", url: "http://www.apache.org/licenses/LICENSE-2.0" }
|
18 | { type: 'MIT', url: "file:LICENSE" }
|
19 | ]
|
20 | repository:
|
21 | type: \git
|
22 | url: \http://github.com/audreyt/node-webworker-threads.git
|
23 | scripts:
|
24 |
|
25 | js: """
|
26 | env PATH=./node_modules/.bin:"$PATH" lsc -cj package.ls;
|
27 | gcc deps/minifier/src/minify.c -o deps/minifier/bin/minify;
|
28 | env PATH=./node_modules/.bin:"$PATH" lsc -cbp src/worker.ls > src/worker.js;
|
29 | ./deps/minifier/bin/minify kWorker_js < src/worker.js > src/worker.js.c;
|
30 | env PATH=./node_modules/.bin:"$PATH" lsc -cbp src/events.ls > src/events.js;
|
31 | ./deps/minifier/bin/minify kEvents_js < src/events.js > src/events.js.c;
|
32 | env PATH=./node_modules/.bin:"$PATH" lsc -cbp src/createPool.ls > src/createPool.js;
|
33 | ./deps/minifier/bin/minify kCreatePool_js < src/createPool.js > src/createPool.js.c;
|
34 | env PATH=./node_modules/.bin:"$PATH" lsc -cbp src/thread_nextTick.ls > src/thread_nextTick.js;
|
35 | ./deps/minifier/bin/minify kThread_nextTick_js 1 < src/thread_nextTick.js > src/thread_nextTick.js.c;
|
36 | env PATH=./node_modules/.bin:"$PATH" lsc -cbp src/load.ls > src/load.js;
|
37 | ./deps/minifier/bin/minify kLoad_js 1 1 < src/load.js > src/load.js.c;
|
38 | """
|
39 | pretest: 'npm run js && node-gyp rebuild'
|
40 | test: './run-all-tests.sh'
|
41 | dependencies:
|
42 | bindings: \^1.3.0
|
43 | nan: \^2.11.0
|
44 | dev-dependencies:
|
45 | livescript: \^1.5.0
|
46 | tap: \^5.7.1
|
47 | gypfile: true
|
48 | engines: { node: '>= 0.10.16' }
|