-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
72 lines (72 loc) · 2.8 KB
/
package.json
File metadata and controls
72 lines (72 loc) · 2.8 KB
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
{
"name": "@alt-javascript/cdi",
"version": "2.0.2",
"description": "",
"author": "Craig Parravicini",
"keywords": [
"contexts",
"dependency",
"injection",
"cdi"
],
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"homepage": "https://github.com/alt-javascript/cdi#readme",
"repository": {
"type": "git",
"url": "https://github.com/alt-javascript/cdi"
},
"main": "index.js",
"type": "module",
"scripts": {
"lint": "npx eslint \"./*.js\" \"./test/**/*.js\" --fix",
"test": "npm run test:unit",
"test:unit": "npm run test:tdd",
"test:tdd": "mocha --require test/fixtures/index.js",
"test:bdd": "npm run cucumber",
"coverage": "npm run c8",
"mocha": "mocha --require test/fixtures/index.js",
"cucumber": "npx run-script-os",
"cucumber:windows": ".\\node_modules\\.bin\\cucumber-js.cmd features\\*.feature --publish-quiet",
"cucumber:macos:nix:default": "./node_modules/.bin/cucumber-js features\\*.feature --publish-quiet",
"c8": "c8 --reporter=json-summary --reporter=text-summary --reporter=lcov npm run test",
"bundle-esm": "rollup -c rollup.config.esm.js",
"bundle-iife": "rollup -c rollup.config.iife.js",
"minify-esm": "terser dist/alt-javascript-cdi-esm.js -c ",
"minify-iife": "terser dist/alt-javascript-applicationcontext-iife.js -c ",
"build-esm": "npm run minify-esm -- -o dist/alt-javascript-cdi-esm-min.js --source-map",
"build-iife": "npm run minify-iife -- -o dist/alt-javascript-applicationcontext-iife-min.js --source-map",
"build": "npm run bundle-esm && npm run build-esm && npm run iifify && npm run bundle-iife && npm run uniifify && npm run build-iife ",
"iifify": "shx sed -i s/{\\ ConfigFactory\\ }/ConfigFactory/g ApplicationContext.js && shx sed -i s/{\\ LoggerFactory\\ }/LoggerFactory/g ApplicationContext.js",
"uniifify": "shx sed -i s/ConfigFactory\\ /{\\ ConfigFactory\\ }\\ /g ApplicationContext.js && shx sed -i s/LoggerFactory\\ /{\\ LoggerFactory\\ }\\ /g ApplicationContext.js"
},
"license": "MIT",
"dependencies": {
"@alt-javascript/config": "^2.0.0",
"@alt-javascript/logger": "^2.0.2",
"lodash": "^4.17.21"
},
"devDependencies": {
"@alt-javascript/boot": "^1.0.10",
"@babel/eslint-parser": "^7.15.0",
"@cucumber/cucumber": "^7.3.1",
"babel-eslint": "^10.1.0",
"c8": "^7.11.0",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"config": "^3.3.6",
"cucumber": "^7.0.0-rc.0",
"eslint": "^7.30.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-cucumber": "^1.4.0",
"eslint-plugin-import": "^2.23.4",
"mocha": "^9.0.3",
"rollup": "^2.69.2",
"rollup-plugin-esm-import-to-url": "^2.1.0",
"run-script-os": "^1.1.6",
"shx": "^0.3.4",
"terser": "^5.12.0",
"uuid": "^8.3.2"
}
}