-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
98 lines (98 loc) · 4.23 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
{
"name": "require-from-memory",
"version": "1.0.2",
"description": "NodeJs \"require\" with mock content and file name and supports babel, pirates, etc",
"author": "Nikolay Makhonin",
"homepage": "https://github.com/NikolayMakhonin/require-from-memory",
"bugs": {
"url": "https://github.com/NikolayMakhonin/require-from-memory/issues"
},
"license": "CC0-1.0",
"keywords": [
"require",
"mock",
"string",
"memory",
"module",
"load",
"cross-platform"
],
"files": [
"dist/**",
"env/mocha/*"
],
"main": "dist/js/main/main.js",
"jsnext:main": "dist/mjs/main/main.js",
"module": "dist/mjs/main/main.js",
"engines": {
"node": ">= 8.6.0"
},
"scripts": {
"clean": "shx rm -rf {dist,tmp,__sapper__,*.log}",
"precommit": "npm run test:all:coverage",
"prepare": "npm run build",
"prepublishOnly": "npm run test:all",
"build:mjs": "shx rm -rf dist/mjs/ && shx mkdir -p dist/mjs/ && shx cp -rf src/test dist/mjs/ && babel src --out-dir dist/mjs/ --no-babelrc --config-file ./.babelrc-mjs.js",
"build:js": "shx rm -rf dist/js/ && shx mkdir -p dist/js/ && shx cp -rf src/test dist/js/ && babel src --out-dir dist/js/ --no-babelrc --config-file ./.babelrc-js.js",
"build": "npm run build:mjs && npm run build:js",
"lint": "eslint --plugin markdown --ext js,md .",
"test:mocha:src": "mocha --opts ./env/mocha/mocha.babel.opts \"./src/test/tests/**/*.*\"",
"test:mocha:mjs": "mocha --opts ./env/mocha/mocha.babel.opts \"./dist/mjs/test/tests/**/*.*\"",
"test:mocha:js": "mocha --opts ./env/mocha/mocha.opts \"./dist/js/test/tests/**/*.*\"",
"test": "npm run test:mocha:mjs && npm run test:mocha:js",
"test:all": "npm run lint && npm run clean && npm run test:mocha:src && npm run build && npm run test:mocha:mjs && npm run test:mocha:js",
"test:all:coverage": "npm run lint && npm run clean && npm run build && npm run coverage && nyc check-coverage --report-dir tmp/coverage/all/lcov --lines 100 --functions 100 --branches 100",
"watch:mocha": "mocha --opts ./env/mocha/mocha.babel.opts \"./src/test/tests/**/*.*\" --watch",
"perf:mocha": "mocha --opts ./env/mocha/mocha.babel.opts \"./src/test/performance/**/*.*\"",
"test:coverage": "npm run test:mocha:src && npm run test:mocha:mjs && npm run test:mocha:js",
"coverage:mocha": "nyc npm run test:coverage",
"coverage": "npm run coverage:mocha && npm run coverage:merge",
"coverage:ci": "npm run coverage:mocha && npm run coverage:merge",
"coverage:merge": "istanbul-combine -d tmp/coverage/all/lcov -p summary -r lcov \"tmp/coverage/*/json/**.json\"",
"ci": "npm run lint && npm run coverage:ci && ncat tmp/coverage/all/lcov/**/lcov.info --banner \"\" | coveralls"
},
"devDependencies": {
"@babel/cli": "^7.5.5",
"@babel/core": "^7.5.5",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-proposal-optional-chaining": "^7.2.0",
"@babel/plugin-proposal-throw-expressions": "^7.2.0",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-transform-async-to-generator": "^7.5.0",
"@babel/plugin-transform-for-of": "^7.4.4",
"@babel/plugin-transform-parameters": "^7.4.4",
"@babel/plugin-transform-regenerator": "^7.4.5",
"@babel/plugin-transform-runtime": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@babel/register": "^7.5.5",
"babel-eslint": "^10.0.3",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"eslint": "^6.3.0",
"eslint-config-pro": "0.0.4",
"eslint-config-standard": "^14.1.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-markdown": "^1.0.0",
"eslint-plugin-node": "^9.2.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"fs-extra": "^8.1.0",
"istanbul-combine": "^0.3.0",
"js-beautify": "^1.10.2",
"mocha": "^5.2.0",
"ncat": "^2.0.7",
"nyc": "^14.1.1",
"rollup": "^1.20.3",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-eslint": "^7.0.0",
"rollup-plugin-istanbul": "^2.0.1",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^5.1.1",
"rollup-pluginutils": "^2.8.1",
"shx": "^0.3.2"
},
"dependencies": {
"@babel/runtime": "^7.5.5"
}
}