82 lines
1.9 KiB
JSON
82 lines
1.9 KiB
JSON
{
|
|
"name": "memfs",
|
|
"version": "2.5.4",
|
|
"description": "In-memory file-system with Node's fs API.",
|
|
"main": "lib/index.js",
|
|
"keywords": [
|
|
"fs",
|
|
"filesystem",
|
|
"fs.js",
|
|
"memory-fs",
|
|
"memfs",
|
|
"file",
|
|
"file system",
|
|
"mount",
|
|
"memory",
|
|
"in-memory",
|
|
"virtual",
|
|
"test",
|
|
"testing",
|
|
"mock"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/streamich/memfs.git"
|
|
},
|
|
"dependencies": {
|
|
"fast-extend": "0.0.2",
|
|
"fs-monkey": "^0.2.1"
|
|
},
|
|
"devDependencies": {
|
|
"mocha": "3.4.2",
|
|
"chai": "4.1.0",
|
|
"typescript": "2.4.2",
|
|
"ts-node": "3.3.0",
|
|
"babel-cli": "6.24.1",
|
|
"babel-preset-es2015": "6.24.1",
|
|
"gulp": "3.9.1",
|
|
"gulp-typescript": "3.2.1",
|
|
"source-map-support": "0.4.15",
|
|
"nyc": "11.1.0",
|
|
"watch": "^1.0.0",
|
|
"@types/mocha": "2.2.41",
|
|
"@types/chai": "4.0.1",
|
|
"@types/node": "8.0.17"
|
|
},
|
|
"nyc": {
|
|
"per-file": true,
|
|
"include": [
|
|
"src/**/*.ts"
|
|
],
|
|
"exclude": [
|
|
"src/**/*.test.ts"
|
|
],
|
|
"extension": [
|
|
".ts"
|
|
],
|
|
"require": [
|
|
"ts-node/register"
|
|
],
|
|
"reporter": [
|
|
"text",
|
|
"json",
|
|
"lcov",
|
|
"text-summary"
|
|
],
|
|
"sourceMap": true,
|
|
"instrument": true,
|
|
"cache": true
|
|
},
|
|
"scripts": {
|
|
"build": "npm run build-ts && npm run build-js",
|
|
"build-ts": "gulp build-ts",
|
|
"build-js": "babel src --out-dir lib",
|
|
"test": "npm run test-basic-js",
|
|
"test-basic-js": "mocha lib/**/**/**/*.test.js",
|
|
"test-basic-ts": "mocha --require ts-node/register src/**/**/**/*.test.ts",
|
|
"test-watch-ts": "mocha --require ts-node/register src/**/**/**/*.test.ts --watch",
|
|
"test-coverage-ts": "nyc --per-file mocha --require ts-node/register --require source-map-support/register --full-trace --bail src/**/**/**/*.test.ts",
|
|
"watch": "watch 'npm run build' ./src"
|
|
}
|
|
}
|