Implementation cleanup.
This commit is contained in:
parent
45e0f26c8b
commit
4a8b5efcf7
1
packages/portal/.gitignore
vendored
1
packages/portal/.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
node_modules
|
node_modules
|
||||||
dist
|
dist
|
||||||
|
lib
|
||||||
|
|||||||
@ -2,13 +2,14 @@
|
|||||||
"name": "worker-portal",
|
"name": "worker-portal",
|
||||||
"version": "0.6.0",
|
"version": "0.6.0",
|
||||||
"description": "Expose an API to a Web Worker",
|
"description": "Expose an API to a Web Worker",
|
||||||
"main": "src/index.js",
|
"main": "lib/index.js",
|
||||||
"jsnext:main": "src/index.js",
|
"jsnext:main": "src/index.js",
|
||||||
"files": ["dist", "src"],
|
"files": ["dist", "lib", "src"],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "eslint src",
|
"lint": "eslint src",
|
||||||
"clean": "rimraf dist",
|
"clean": "rimraf dist lib",
|
||||||
"build:umd": "NODE_ENV=production rollup -c",
|
"build:lib": "NODE_ENV=production babel src --presets=\"stage-0,es2015\" --out-dir lib",
|
||||||
|
"build:umd": "npm run build:lib && NODE_ENV=production rollup -c",
|
||||||
"build:umd:min":
|
"build:umd:min":
|
||||||
"npm run build:umd && uglifyjs -m --screw-ie8 -c -o dist/worker-portal.min.js dist/worker-portal.js",
|
"npm run build:umd && uglifyjs -m --screw-ie8 -c -o dist/worker-portal.min.js dist/worker-portal.js",
|
||||||
"build:umd:gzip":
|
"build:umd:gzip":
|
||||||
@ -22,20 +23,23 @@
|
|||||||
},
|
},
|
||||||
"keywords": ["javascript", "worker", "webworker", "promise"],
|
"keywords": ["javascript", "worker", "webworker", "promise"],
|
||||||
"author": "Timothy Farrell <tim@thecookiejar.me> (https://github.com/explorigin)",
|
"author": "Timothy Farrell <tim@thecookiejar.me> (https://github.com/explorigin)",
|
||||||
"license": "Apache 2.0",
|
"license": "Apache-2.0",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://gitlab.com/explorigin/worker-portal/issues"
|
"url": "https://gitlab.com/explorigin/worker-portal/issues"
|
||||||
},
|
},
|
||||||
"homepage": "https://gitlab.com/explorigin/worker-portal",
|
"homepage": "https://gitlab.com/explorigin/worker-portal",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"babel-eslint": "^7.1.1",
|
"babel-cli": "6.18.0",
|
||||||
"babel-preset-es2015-rollup": "^3.0.0",
|
"babel-core": "6.21.0",
|
||||||
"eslint": "3.2.0",
|
"babel-eslint": "7.1.1",
|
||||||
"eslint-plugin-flow-vars": "0.5.0",
|
"babel-preset-es2015": "6.18.0",
|
||||||
"eslint-plugin-flowtype": "2.4.0",
|
"babel-preset-es2015-rollup": "3.0.0",
|
||||||
"rimraf": "2.5.2",
|
"babel-preset-stage-0": "6.16.0",
|
||||||
|
"eslint": "3.12.2",
|
||||||
|
"eslint-plugin-flowtype": "2.29.1",
|
||||||
|
"rimraf": "2.5.4",
|
||||||
"rollup-plugin-babel": "^2.7.1",
|
"rollup-plugin-babel": "^2.7.1",
|
||||||
"rollup-plugin-json": "2.0.1",
|
"rollup-plugin-json": "2.1.0",
|
||||||
"uglifyjs": "2.4.10"
|
"uglifyjs": "2.4.10"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user