includejs
Version:
Resource Loader
179 lines (178 loc) • 5.81 kB
JSON
{
"name": "includejs",
"description": "Resource Loader",
"version": "0.17.14",
"homepage": "http://atmajs.com/include",
"contributors": [],
"author": "Alex Kit <alex.kit@atmajs.com>",
"repository": {
"type": "git",
"url": "https://github.com/tenbits/IncludeJS.git"
},
"bugs": {
"url": "https://github.com/tenbits/IncludeJS/issues"
},
"licenses": [
"MIT"
],
"main": "./lib/include.node.js",
"browser": "./lib/include.js",
"devDependencies": {
"@types/node": "^10.3.0",
"app-bundler": "^0.1.7",
"atma": "^0.15.22",
"atma-io-middleware-condcomments": "^1.2.6",
"atma-io-middleware-importer": "^1.1.30",
"atma-loader-ts": "^1.1.18",
"atma-utest": "^0.21.32",
"atma-utils": "^0.2.60",
"maskjs": "^0.72.36"
},
"scripts": {
"test": "atma test --TEST",
"server": "atma server --TEST",
"build": "app-bundler",
"build:worker": "app-bundler --app node-worker",
"watch": "app-bundler --watch",
"release": "echo \"Run atma pub -m \"message\"\""
},
"keywords": [],
"atma": {
"plugins": [
"atma-io-middleware-condcomments",
"atma-io-middleware-importer",
"atma-loader-ts"
],
"settings": {
"include": {
"amd": true,
"extentionDefault": {
"js": "ts"
}
},
"atma-io-middleware-condcomments": {},
"atma-io-middleware-importer": {},
"atma-loader-ts": {
"typescript": {
"compilerOptions": {
"esModuleInterop": true,
"#if (TEST)": {
"module": "AMD"
}
}
}
}
}
},
"app-bundler": {
"apps": {
"browser-default": {
"outputMain": "lib/include.js",
"package": {
"moduleWrapperCustomPath": "./src/umd/head-browser.js"
},
"settings": {
"atma-io-middleware-condcomments": {
"defines": {
"BROWSER": true
}
}
},
"copyFiles": {
"src/Autoreload.js": "lib/include.autoreload.js"
}
},
"browser-module": {
"outputMain": "lib/include.module.js",
"package": {
"moduleWrapperCustomPath": "./src/umd/head-module-browser.js"
},
"settings": {
"atma-io-middleware-condcomments": {
"defines": {
"BROWSER": true
}
}
}
},
"node-default": {
"outputMain": "lib/include.node.js",
"package": {
"moduleWrapperCustomPath": "./src/umd/head-node.js"
},
"settings": {
"atma-io-middleware-condcomments": {
"defines": {
"NODE": true
}
}
}
},
"node-module": {
"outputMain": "lib/include.node.module.js",
"package": {
"moduleWrapperCustomPath": "./src/umd/head-module-node.js"
},
"settings": {
"atma-io-middleware-condcomments": {
"defines": {
"NODE": true
}
}
}
},
"node-worker": {
"file": "src/export-worker-host.ts",
"outputMain": "lib/include.node-worker-host.js",
"package": {
"moduleWrapperCustomPath": "./src/umd/head-node-worker.js"
},
"settings": {
"atma-io-middleware-condcomments": {
"defines": {
"NODE": true
}
}
}
}
},
"common": {
"file": "src/export.ts",
"package": {
"module": "commonjs",
"moduleWrapper": "custom",
"commonjs": {
"output": "simplified"
}
},
"dynamicDependencies": [
"^vm$",
"^fs$",
"^module$",
"^path$",
"^worker_threads$",
"include.node.module.js$"
],
"extensions": {
"io": {
"type": "js"
}
},
"defaultExtensions": {
"js": "ts"
},
"middlewares": {
"js": [
"atma-io-middleware-condcomments:read",
"atma-io-middleware-importer:read",
"./tools/imports.js:write"
],
"ts": [
"atma-io-middleware-condcomments:read",
"atma-io-middleware-importer:read",
"atma-loader-ts:read"
]
}
}
}
}