forked from js-csp/js-csp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
121 lines (121 loc) · 3.67 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"name": "js-csp",
"description": "CSP channels with ES6 generators, inspired by Clojurescript's core.async and Go",
"version": "1.0.1",
"author": "Nguyễn Tuấn Anh <[email protected]>",
"browserify": {
"transform": [
"loose-envify"
]
},
"bugs": {
"email": "[email protected]",
"url": "https://github.com/ubolonton/js-csp/issues"
},
"dependencies": {
"babel-runtime": "^6.22.0",
"lodash": "^4.17.4"
},
"devDependencies": {
"babel-cli": "^6.22.2",
"babel-core": "^6.22.1",
"babel-eslint": "^7.1.1",
"babel-loader": "^6.2.10",
"babel-plugin-lodash": "^3.2.11",
"babel-plugin-rewire": "^1.0.0",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"babel-plugin-transform-runtime": "^6.22.0",
"babel-preset-babili": "0.0.10",
"babel-preset-es2015": "^6.22.0",
"babel-preset-es2016": "^6.22.0",
"babel-preset-stage-2": "^6.22.0",
"babel-template": "^6.22.0",
"babel-types": "^6.22.0",
"chai": "^3.5.0",
"chokidar-cli": "^1.2.0",
"cross-env": "^3.1.4",
"eslint": "^3.15.0",
"eslint-config-airbnb": "^14.1.0",
"eslint-import-resolver-webpack": "^0.8.1",
"eslint-loader": "^1.6.1",
"eslint-plugin-babel": "^4.0.1",
"eslint-plugin-flowtype": "^2.30.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^4.0.0",
"eslint-plugin-mocha": "^4.8.0",
"eslint-plugin-react": "^6.9.0",
"eslint-watch": "^2.1.14",
"flow-bin": "^0.38.0",
"husky": "^0.13.3",
"istanbul": "^1.1.0-alpha.1",
"jsdom": "^9.10.0",
"jsdom-global": "^2.1.1",
"lint-staged": "^3.4.0",
"lodash-webpack-plugin": "^0.11.0",
"mocha": "^3.2.0",
"prettier": "^0.22.0",
"rimraf": "^2.5.4",
"transducers.js": "^0.3.2",
"webpack": "^2.2.1"
},
"engines": {
"node": ">= 4.1.0",
"npm": ">=3.0.0"
},
"files": [
"lib",
"dist",
"CHANGELOG.md",
"README.md"
],
"jsnext:main": "./lib/latest/csp.js",
"keywords": [
"async",
"channel",
"clojure",
"clojurescript",
"concurrency",
"core.async",
"coroutines",
"csp",
"es6",
"generators",
"go",
"yield"
],
"license": {
"type": "MIT",
"url": "https://github.com/ubolonton/js-csp/raw/master/LICENSE"
},
"main": "./lib/js-csp.js",
"module": "./lib/latest/csp.js",
"repository": {
"type": "git",
"url": "https://github.com/ubolonton/js-csp.git"
},
"scripts": {
"build:latest": "cross-env BABEL_ENV=latest babel src -d ./lib/latest",
"build:current:dist": "cross-env BABEL_ENV=current-dist babel ./lib/js-csp.js -o ./dist/js-csp.min.js",
"build:current": "cross-env BABEL_ENV=current webpack && npm run build:current:dist",
"build:es5": "cross-env BABEL_ENV=es5 webpack",
"build": "npm run build:latest && npm run build:current && npm run build:es5",
"clean": "rimraf lib build",
"flow:status": "flow status; test $? -eq 0 -o $? -eq 2",
"flow:stop": "flow stop",
"flow:watch": "npm run flow:status && chokidar './src/**/*.js' './test/**/*.js' -c 'npm run flow:status'",
"lint": "eslint --ignore-path .gitignore src/**",
"lint:watch": "esw -w './src/**/*.js' './test/**/*.js'",
"prepublish": "npm run build",
"test": "cross-env BABEL_ENV=test mocha",
"test:coverage": "cross-env BABEL_ENV=test istanbul cover node_modules/mocha/bin/_mocha",
"test:watch": "cross-env BABEL_ENV=test mocha --watch --reporter progress",
"format": "prettier --trailing-comma all --single-quote --write \"{src,test}/**/*.js\"",
"precommit": "lint-staged"
},
"lint-staged": {
"*.js": [
"prettier --trailing-comma es5 --single-quote --write",
"git add"
]
}
}