mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-30 23:32:38 +00:00
1b46a95b06
* added missing eslint-loader that prevented the example to run and changed freeWorker to terminate a worker and create a new since we can not really free a worker * proper remove long running worker from longRunningWorkers array when done * polish web-worker example set nuxt to 'latest' version this will change this will also change
21 lines
451 B
JSON
21 lines
451 B
JSON
{
|
|
"name": "web-worker",
|
|
"description": "Demo web workers in nuxt.js",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "nuxt",
|
|
"build": "nuxt build",
|
|
"start": "nuxt start",
|
|
"generate": "nuxt generate",
|
|
"lint": "eslint --ext .js,.vue --ignore-path .gitignore .",
|
|
"precommit": "npm run lint"
|
|
},
|
|
"dependencies": {
|
|
"nuxt": "^1.4.1"
|
|
},
|
|
"devDependencies": {
|
|
"eslint-loader": "^2.0.0",
|
|
"worker-loader": "^1.1.1"
|
|
}
|
|
}
|