-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
97 lines (97 loc) · 3.32 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"name": "refraction",
"version": "1.2.0",
"description": "A guard that represent central point of control in your application.",
"main": "lib/index.js",
"jsnext:main": "es/index.js",
"files": [
"dist",
"lib",
"es",
"src"
],
"scripts": {
"clean": "rimraf lib dist es .nyc_output",
"test": "cross-env BABEL_ENV=commonjs nyc --require babel-register mocha --recursive",
"test:watch": "npm test -- --watch",
"test:cov": "nyc report --reporter=text-lcov | coveralls",
"test:examples": "cross-env BABEL_ENV=commonjs babel-node examples/testAll.js",
"check:src": "npm run lint && npm run test",
"check:examples": "npm run build:examples && npm run test:examples",
"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": "cross-env BABEL_ENV=commonjs NODE_ENV=development webpack src/index.js dist/refraction.js",
"build:umd:min": "cross-env BABEL_ENV=commonjs NODE_ENV=production webpack src/index.js dist/refraction.min.js",
"build:examples": "cross-env BABEL_ENV=commonjs babel-node examples/buildAll.js",
"build": "npm run build:commonjs && npm run build:es && npm run build:umd && npm run build:umd:min",
"prepublish": "npm run clean && npm run check:src && npm run build && check-es3-syntax lib/ dist/ --kill",
"lint": "eslint src test examples build",
"docs:clean": "rimraf _book",
"docs:prepare": "gitbook install",
"docs:watch": "npm run docs:prepare && gitbook serve",
"docs:build": "npm run docs:prepare && rm -rf _book && gitbook build && cp docs/images/Example.png _book/gitbook/images && cp docs/images/DataFlow.png _book/gitbook/images",
"docs:publish": "npm run docs:build && gh-pages -d _book"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mbasso/refraction.git"
},
"keywords": [
"event",
"control",
"publish",
"mediator",
"observer",
"independent",
"no-dependency"
],
"author": "Matteo Basso (https://github.com/mbasso)",
"license": "MIT",
"bugs": {
"url": "https://github.com/mbasso/refraction/issues"
},
"homepage": "https://mbasso.github.io/refraction",
"devDependencies": {
"babel-cli": "6.10.1",
"babel-core": "6.9.1",
"babel-eslint": "6.0.4",
"babel-loader": "6.2.4",
"babel-plugin-transform-es2015-modules-commonjs": "6.10.3",
"babel-plugin-transform-es3-member-expression-literals": "6.8.0",
"babel-plugin-transform-es3-property-literals": "6.8.0",
"babel-plugin-transform-object-rest-spread": "6.8.0",
"babel-preset-es2015": "6.5.0",
"babel-preset-stage-0": "6.5.0",
"babel-register": "6.9.0",
"check-es3-syntax-cli": "0.1.0",
"coveralls": "2.11.9",
"cross-env": "1.0.7",
"eslint": "2.12.0",
"eslint-config-airbnb": "9.0.1",
"eslint-plugin-import": "1.8.1",
"eslint-plugin-jsx-a11y": "1.3.0",
"eslint-plugin-react": "5.1.1",
"expect": "1.8.0",
"gh-pages": "0.11.0",
"gitbook-cli": "2.2.0",
"istanbul": "0.4.3",
"mocha": "2.2.5",
"nyc": "6.4.4",
"rimraf": "2.5.2",
"webpack": "1.13.1"
},
"npmName": "refraction",
"npmFileMap": [
{
"basePath": "/dist/",
"files": [
"*.js"
]
}
],
"browserify": {
"transform": [
"loose-envify"
]
}
}