-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
76 lines (76 loc) · 2.43 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"name": "redux-sync-reducer",
"version": "1.0.1",
"description": "High order reducer to sync partial states between tabs",
"main": "lib/index.js",
"module": "es/index.js",
"scripts": {
"test": "npm run test:coverage --silent",
"test:coverage": "nyc --all --include=src --reporter=lcov --reporter=text-summary --report-dir=coverage npm run test:mocha",
"test:mocha": "cross-env BABEL_ENV=commonjs mocha --compilers js:@babel/register --require mock-local-storage tests/**/*.spec.js",
"clean": "rimraf lib es dist",
"build": "npm run build:commonjs && npm run build:es && npm run build:umd && npm run build:umd:min",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib",
"build:es": "cross-env BABEL_ENV=es babel src --out-dir es",
"build:umd": "mkdirp dist && cross-env BABEL_ENV=umd babel src/index.js -o dist/redux-sync-reducer.js",
"build:umd:min": "mkdirp dist && cross-env BABEL_ENV=umd babel --presets=minify --no-comments src/index.js -o dist/redux-sync-reducer.min.js",
"prepublish": "npm run clean && npm run build"
},
"repository": {
"type": "git",
"url": "https://github.com/darthmaim/redux-sync-reducer.git"
},
"keywords": [
"redux",
"sync"
],
"author": "darthmaim",
"license": "MIT",
"bugs": {
"url": "https://github.com/darthmaim/redux-sync-reducer/issues"
},
"homepage": "https://github.com/darthmaim/redux-sync-reducer#readme",
"devDependencies": {
"@babel/core": "^7.2.0",
"@babel/register": "^7.0.0",
"@babel/cli": "^7.2.0",
"@babel/plugin-transform-modules-umd": "^7.2.0",
"@babel/preset-env": "^7.2.0",
"babel-preset-minify": "^0.5.0",
"chai": "^4.2.0",
"cross-env": "^5.2.0",
"mkdirp": "^0.5.1",
"mocha": "^5.2.0",
"mock-local-storage": "^1.1.7",
"nyc": "^13.1.0",
"redux": "^4.0.1",
"rimraf": "^2.6.2"
},
"babel": {
"env": {
"commonjs": {
"presets": [
["@babel/preset-env", { "modules": "commonjs" }]
]
},
"es": {
"presets": [
["@babel/preset-env", { "modules": false }]
]
},
"umd": {
"presets": [
["@babel/preset-env", { "modules": false }]
],
"plugins": [
["@babel/plugin-transform-modules-umd", {
"exactGlobals": true,
"globals": {
"index": "ReduxSyncReducer"
}
}]
]
}
}
}
}