Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
唐鳳
executable file 44 lines (43 sloc) 2.048 kb
#!/usr/bin/env lsc -cj
name: \webworker-threads
version: \0.5.5
main: \build/Release/WebWorkerThreads.node
description: 'Lightweight Web Worker API implementation with native threads'
keywords: [ 'threads' 'web worker' 'a gogo' ]
author:
name: 'Audrey Tang'
email: \audreyt@audreyt.org
twitter: \audreyt
homepage: \https://github.com/audreyt/node-webworker-threads
bugs:
url: \http://github.com/audreyt/node-webworker-threads/issues
email: \audreyt@audreyt.org
licenses: [
{ type: "Apache License, Version 2.0", url: "http://www.apache.org/licenses/LICENSE-2.0" }
{ type: 'MIT', url: "file:LICENSE" }
]
repository:
type: \git
url: \http://github.com/audreyt/node-webworker-threads.git
scripts:
# prepublish: 'env PATH=./node_modules/.bin:"$PATH" lsc -cj package.ls'
js: """
env PATH=./node_modules/.bin:"$PATH" lsc -cj package.ls;
gcc deps/minifier/src/minify.c -o deps/minifier/bin/minify;
env PATH=./node_modules/.bin:"$PATH" lsc -cbp src/worker.ls > src/worker.js;
./deps/minifier/bin/minify kWorker_js < src/worker.js > src/worker.js.c;
env PATH=./node_modules/.bin:"$PATH" lsc -cbp src/events.ls > src/events.js;
./deps/minifier/bin/minify kEvents_js < src/events.js > src/events.js.c;
env PATH=./node_modules/.bin:"$PATH" lsc -cbp src/createPool.ls > src/createPool.js;
./deps/minifier/bin/minify kCreatePool_js < src/createPool.js > src/createPool.js.c;
env PATH=./node_modules/.bin:"$PATH" lsc -cbp src/thread_nextTick.ls > src/thread_nextTick.js;
./deps/minifier/bin/minify kThread_nextTick_js 1 < src/thread_nextTick.js > src/thread_nextTick.js.c;
env PATH=./node_modules/.bin:"$PATH" lsc -cbp src/load.ls > src/load.js;
./deps/minifier/bin/minify kLoad_js 1 1 < src/load.js > src/load.js.c;
"""
dependencies:
nan: \1.6.x
dev-dependencies:
LiveScript: \1.3.x
gypfile: true
engines: { node: '>= 0.8.0' }
Jump to Line
Something went wrong with that request. Please try again.