1 | {
|
2 | "name": "web-threads",
|
3 | "version": "1.0.59",
|
4 | "description": "generic threads using web workers for the web",
|
5 | "main": "dist/web-threads.js",
|
6 | "scripts": {
|
7 | "prepare": "npm run build",
|
8 | "build": "rollup -c",
|
9 | "build:int": "rollup -c examples/rollup.config.js",
|
10 | "test": "jest test/unit && npm run test:int",
|
11 | "test:dev": "jest --watchAll test/unit",
|
12 | "test:int": "npm run build:int && jest test/integration",
|
13 | "test:cov": "jest --coverage && codecov",
|
14 | "push": "yarn test && git push",
|
15 | "deploy:major": "yarn version --major",
|
16 | "deploy:minor": "yarn version --minor",
|
17 | "deploy:patch": "yarn version --patch",
|
18 | "deploy:push": "git push && git push --tags",
|
19 | "preversion": "yarn test"
|
20 | },
|
21 | "keywords": [
|
22 | "web worker",
|
23 | "webworker",
|
24 | "threads",
|
25 | "multithreading",
|
26 | "parallel",
|
27 | "promise",
|
28 | "generic"
|
29 | ],
|
30 | "repository": "git@github.com:kanekotic/web-threads.git",
|
31 | "author": "kanekotic <alvarojosepl@gmail.com>",
|
32 | "license": "MIT",
|
33 | "private": false,
|
34 | "devDependencies": {
|
35 | "@babel/core": "7.7.2",
|
36 | "@babel/preset-env": "7.7.1",
|
37 | "babel-core": "^7.0.0-0",
|
38 | "babel-jest": "24.9.0",
|
39 | "codecov": "3.6.1",
|
40 | "faker": "4.1.0",
|
41 | "jest": "24.9.0",
|
42 | "jest-puppeteer": "4.3.0",
|
43 | "puppeteer": "2.0.0",
|
44 | "rollup": "1.27.0",
|
45 | "rollup-plugin-babel": "4.3.3",
|
46 | "rollup-plugin-uglify": "6.0.3",
|
47 | "uglify-es": "3.3.9"
|
48 | },
|
49 | "babel": {
|
50 | "presets": [
|
51 | "@babel/env"
|
52 | ],
|
53 | "env": {
|
54 | "test": {
|
55 | "presets": [
|
56 | [
|
57 | "@babel/env",
|
58 | {
|
59 | "targets": {
|
60 | "node": "current"
|
61 | }
|
62 | }
|
63 | ]
|
64 | ]
|
65 | }
|
66 | }
|
67 | },
|
68 | "jest": {
|
69 | "testMatch": [
|
70 | "**/test/**/*-test.js"
|
71 | ],
|
72 | "transform": {
|
73 | "^.+\\.jsx|.js?$": "babel-jest"
|
74 | }
|
75 | }
|
76 | }
|