-
Notifications
You must be signed in to change notification settings - Fork 30
/
package.json
129 lines (129 loc) · 4.01 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
122
123
124
125
126
127
128
129
{
"name": "rewiremock",
"version": "3.14.5",
"description": "Advanced dependency mocking device.",
"main": "lib/index.js",
"jsnext:main": "es/index.js",
"module": "es/index.js",
"types": "rewiremock.d.ts",
"scripts": {
"test": "npm run test:pick -- '_tests/**/*spec.js'",
"test:report": "nyc report --reporter=text-lcov > coverage.lcov",
"test:cov": "BABEL_ENV=cjs nyc mocha --compilers js:babel-core/register --report lcovonly -- '_tests/**/*spec.js'",
"test:ci": "npm run test:cov && npm run test:report && codecov",
"test:pick": "BABEL_ENV=cjs mocha --compilers js:babel-core/register",
"test:karma": "node ./node_modules/karma/bin/karma start --single-run --browsers PhantomJS",
"test:browser": "BABEL_ENV=cjs node ./node_modules/karma/bin/karma start --browsers Chrome",
"test:webpack": "webpack ./_tests/karma.js ./_tests/bundle.js && mocha --compilers js:babel-core/register ./_tests/bundle.js",
"test:jest": "NODE_ENV=cjs jest",
"test:80": "mocha --require esm ./_tests/issues/80/test-a.spec.js && mocha --require esm ./_tests/issues/80/test-b.spec.js && mocha --require esm ./_tests/issues/80/test.spec.js",
"build": "npm run build5 && npm run build6",
"build5": "BABEL_ENV=cjs babel src -d lib && cp src/index.js.flow lib/index.js.flow",
"build6": "BABEL_ENV=ejs babel src -d es && cp src/index.js.flow es/index.js.flow",
"prepublish": "npm run build",
"lint": "eslint src webpack",
"lint:fix": "eslint src webpack tests --fix",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/theKashey/rewiremock.git"
},
"bugs": {
"url": "https://github.com/theKashey/rewiremock/issues"
},
"homepage": "https://github.com/theKashey/rewiremock#readme",
"files": [
"lib",
"es",
"webpack",
"rewiremock.d.ts",
"node.js",
"node.d.ts",
"webpack.js",
"webpack.d.ts",
"internal.js",
"babel.js"
],
"keywords": [
"es6",
"require",
"dependency",
"injection",
"dependency injection",
"mock dependency",
"di",
"inject",
"swap",
"test",
"mock",
"mockery",
"proxyquire"
],
"jest": {
"testMatch": [
"**/?(*.)(jest).js?(x)"
],
"globals": {
"BABEL_ENV": "cjs",
"NODE_ENV": "cjs"
},
"transform": {
"^.+\\.js$": "babel-jest"
}
},
"author": "Anton Korzunov ([email protected])",
"license": "MIT",
"dependencies": {
"babel-runtime": "^6.26.0",
"compare-module-exports": "^2.1.0",
"lodash.some": "^4.6.0",
"lodash.template": "^4.4.0",
"node-libs-browser": "^2.1.0",
"path-parse": "^1.0.5",
"wipe-node-cache": "^2.1.2",
"wipe-webpack-cache": "^2.1.0"
},
"devDependencies": {
"babel-cli": "^6.18.0",
"babel-core": "^6.24.1",
"babel-eslint": "^8.2.3",
"babel-jest": "^23.0.0",
"babel-loader": "7",
"babel-plugin-dynamic-import-node": "^1.0.2",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
"babel-plugin-transform-object-rest-spread": "^6.23.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "1.7.0",
"babel-register": "6.26.0",
"chai": "^4.1.2",
"codecov": "^3.0.2",
"conventional-changelog-cli": "^2.0.21",
"eslint": "^4.19.1",
"eslint-plugin-mocha": "^5.0.0",
"esm": "^3.2.25",
"flow-bin": "^0.75.0",
"jest-cli": "^23.0.0",
"karma": "^2.0.2",
"karma-chrome-launcher": "^2.2.0",
"karma-mocha": "^1.3.0",
"karma-phantomjs-launcher": "^1.0.4",
"karma-spec-reporter": "0.0.32",
"karma-webpack": "^3.0.0",
"mocha": "^5.2.0",
"nyc": "^12.0.1",
"phantomjs-polyfill": "0.0.2",
"phantomjs-polyfill-object-assign": "0.0.2",
"sinon": "^5.0.10",
"webpack": "^4.14.0",
"webpack-cli": "^3.0.0",
"webpack-dev-server": "^3.1.4"
},
"esm": {
"cjs": true,
"cache": false,
"mode": "auto"
}
}