forked from goatslacker/alt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
78 lines (78 loc) · 2.69 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
{
"name": "alt",
"version": "0.16.6",
"description": "A flux implementation",
"main": "lib",
"dependencies": {
"es-symbol": "1.1.2",
"eventemitter3": "0.1.6",
"flux": "2.0.3"
},
"devDependencies": {
"alt-search-docs": "1.0.6",
"babel": "^5.3.1",
"babel-core": "^5.3.1",
"babelify": "^6.1.0",
"browserify": "^10.1.3",
"browserify-shim": "^3.8.6",
"chai": "^2.3.0",
"coveralls": "^2.11.2",
"envify": "^3.4.0",
"es6-promise": "^2.1.1",
"eslint": "0.21.0",
"ghooks": "^0.3.2",
"immutable": "^3.7.2",
"iso": "^4.1.0",
"istanbul": "^0.3.14",
"jsdom": "^3.1.2",
"lunr": "^0.5.9",
"mocha": "^2.2.4",
"react": "^0.13.3",
"rimraf": "^2.3.2",
"sinon": "^1.14.0"
},
"repository": {
"type": "git",
"url": "https://github.com/goatslacker/alt.git"
},
"authors": [
"Josh Perez <[email protected]>",
"Jonathan Lehman <[email protected]>"
],
"license": "MIT",
"scripts": {
"build": "npm run clean && npm run build-alt && npm run build-utils && npm run build-alt-browser && npm run build-alt-browser-with-addons",
"build-alt": "babel src/alt --out-dir lib --stage 0",
"build-utils": "babel src/utils --out-dir utils --stage 0",
"build-alt-browser": "browserify src/alt -t [envify --NODE_ENV production ] -t babelify --outfile dist/alt.js --standalone Alt",
"build-alt-browser-with-addons": "browserify src/alt/addons.js -t [envify --NODE_ENV production ] -t babelify -t browserify-shim --outfile dist/alt-with-addons.js --standalone Alt",
"build-test": "babel src/alt --out-dir lib -r --stage 0 && babel src/utils --out-dir utils -r --stage 0",
"coverage": "npm run build-test && istanbul cover node_modules/mocha/bin/_mocha -- -u exports -R tap --require ./test/babel test",
"clean": "rimraf lib && rimraf utils",
"lint": "eslint src components",
"posttest": "npm run build-alt",
"prepublish": "npm run lint && npm run test && npm run build",
"pretest": "npm run clean && npm run build-test",
"size": "npm run build-alt; browserify flux.js > flux-build.js; uglifyjs -m -c 'comparisons=false,keep_fargs=true,unsafe=true,unsafe_comps=true,warnings=false' flux-build.js > flux-build.min.js",
"test": "npm run tests-node",
"test-browser": "browserify test/browser/index.js -t babelify --outfile test/browser/tests.js",
"tests-node": "mocha -u exports -R nyan --require ./test/babel test"
},
"browserify-shim": {
"react": "global:React",
"react/addons": "global:React"
},
"keywords": [
"alt",
"es6",
"flow",
"flux",
"react",
"unidirectional"
],
"config": {
"ghooks": {
"pre-push": "npm run lint"
}
}
}