-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
70 lines (70 loc) · 1.88 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
{
"name": "yea",
"description": "Immutable-style AJAX library for the browser",
"version": "1.5.0",
"license": "MIT",
"author": "Martti Laine <[email protected]>",
"main": "src/index.js",
"repository": {
"type": "git",
"url": "https://github.com/codeclown/yea.git"
},
"devDependencies": {
"body-parser": "^1.18.3",
"bundlesize": "^0.18.0",
"chai": "^4.2.0",
"es6-promise": "^4.2.8",
"eslint": "^6.5.1",
"express": "^4.16.4",
"karma": "^4.0.1",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.1.0",
"karma-mocha": "^1.3.0",
"karma-sauce-launcher": "^2.0.2",
"mocha": "^6.2.1",
"nodemon": "^1.19.1",
"npm-run-all": "^4.1.5",
"uglify-js": "^3.5.2"
},
"eslintConfig": {
"env": {
"browser": true,
"commonjs": true
},
"extends": "eslint:recommended",
"globals": {
"define": true,
"describe": true,
"it": true,
"expect": true,
"yea": true,
"__dirname": true,
"process": true
},
"parserOptions": {
"ecmaVersion": 5
},
"rules": {}
},
"bundlesize": [
{
"path": "./build/yea.js",
"maxSize": "3.2KB"
},
{
"path": "./build/yea.min.js",
"maxSize": "2.7KB"
}
],
"scripts": {
"mocha": "nodemon --watch test test/server/mocha-server.js",
"watch": "mkdir -p build && cp src/index.js build/yea.js && nodemon --exec 'yarn build' --watch src src/index.js",
"build": "mkdir -p build && cp src/index.js build/yea.js && uglifyjs src/index.js --comments > build/yea.min.js",
"bundlesize": "bundlesize",
"lint": "eslint src test",
"karma": "karma start test/karma.conf.js --single-run",
"commonjs-test": "node test/commonjs-test.js",
"test": "yarn lint && yarn build && yarn bundlesize && yarn commonjs-test && yarn karma",
"dev": "npm-run-all --parallel mocha watch"
}
}