-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
88 lines (88 loc) · 2.41 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
{
"name": "affect",
"version": "1.0.0",
"description": "Affect is a micro abstraction layer for Javascript that simplifies unit testing and monitoring side-effects",
"main": "index.js",
"module": "dist/affect.es.js",
"jsnext:main": "dist/affect.esnext.js",
"browser": {
"./index.js": "./dist/affect.js",
"./test.js": "./dist/affect-test.js"
},
"engines:": {
"node": ">=4.2.0",
"npm": ">=3.3.0"
},
"scripts": {
"build": "npm run clean && npm run rollup && npm run minify",
"clean": "rm dist/*.js || true && rm dist/*.map || true",
"fmt": "prettier --use-tabs --single-quote --print-width 100 --write \"{src,test,config}/**/*.{js,mjs}\" \"*.{js,mjs}\"",
"minify": "uglifyjs --compress --mangle --output dist/affect.min.js --source-map \"content='dist/affect.js.map'\" -- dist/affect.js",
"prepublish": "npm run build",
"rollup": "npm run rollup-affect && npm run rollup-affect-test",
"rollup-affect": "rollup -c config/rollup-affect.mjs",
"rollup-affect-test": "rollup -c config/rollup-affect-test.mjs",
"test": "npm run test-jest && npm run build && npm run test-mocha",
"test-mocha": "nyc mocha \"test/mocha.js\"",
"test-jest": "jest --coverage"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"mjs"
],
"collectCoverageFrom": [
"src/**/*.mjs"
],
"testRegex": "test/jest\\.mjs",
"transform": {
"^.+\\.mjs?$": "babel-jest"
}
},
"babel": {
"plugins": [
"transform-es2015-modules-commonjs"
]
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/jlmessenger/affect.git"
},
"keywords": [
"affect",
"async",
"unit",
"test",
"promise",
"monitoring"
],
"author": "jlmessenger <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/jlmessenger/affect/issues"
},
"homepage": "https://github.com/jlmessenger/affect#readme",
"files": [
"config",
"dist",
"src",
"test",
"index.js",
"test.js",
"README.md"
],
"dependencies": {},
"devDependencies": {
"babel-jest": "^22.0.6",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.0",
"jest": "^21.2.1",
"mocha": "^4.1.0",
"nyc": "^11.4.1",
"prettier": "^1.10.2",
"rollup": "^0.53.4",
"rollup-plugin-buble": "^0.18.0",
"rollup-plugin-replace": "^2.0.0",
"uglify-js": "^3.3.9"
}
}