-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
40 lines (40 loc) · 1.82 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"name": "state-worker",
"version": "0.0.1-alpha",
"description": "Share a state between processes, change it and query it",
"main": "dist/state-worker.js",
"scripts": {
"test": "npm run test-units && npm run build-dev && npm run test-node && npm run test-web",
"test-units": "jest --config jest-units.config.js",
"test-node": "jest --config jest-node.config.js",
"test-web": "karma start",
"copy-files": "node ./copy-files.js",
"replace-script": "node ./replace-script.js",
"build:main": "webpack --config ./webpack.config.js",
"build:main-dev": "webpack --config ./webpack.config.js --mode=development",
"build:web-child": "webpack --config ./webpack.web-child-process.config.js",
"build:web-child-dev": "webpack --config ./webpack.web-child-process.config.js --mode=development",
"build:node-child": "webpack --config ./webpack.node-child-process.config.js",
"build:node-child-dev": "webpack --config ./webpack.node-child-process.config.js --mode=development",
"build": "npm run build:web-child && npm run copy-files && npm run build:main && npm run replace-script && npm run build:node-child",
"build-dev": "npm run build:web-child-dev && npm run copy-files && npm run build:main-dev && npm run replace-script && npm run build:node-child-dev",
"use-cases": "npm run build-dev && node ./build-use-cases.js && npx http-server ./test/use-cases/dist"
},
"keywords": [
"state"
],
"author": "Emile Fokkema",
"license": "ISC",
"devDependencies": {
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
"http-server": "^14.1.0",
"jasmine": "^4.0.2",
"jasmine-core": "^4.0.1",
"jest": "^27.5.1",
"karma": "^6.3.17",
"karma-chrome-launcher": "^3.1.0",
"karma-jasmine": "^4.0.1",
"webpack": "^5.68.0",
"webpack-cli": "^4.9.2"
}
}