-
Notifications
You must be signed in to change notification settings - Fork 97
/
package.json
executable file
·129 lines (129 loc) · 7.03 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": "infusion",
"description": "Infusion is an application framework for developing flexible stuff with JavaScript",
"version": "4.7.1",
"author": "Fluid Project",
"bugs": "http://issues.fluidproject.org/browse/FLUID",
"homepage": "http://www.fluidproject.org/",
"license": "(BSD-3-Clause OR ECL-2.0)",
"keywords": [
"infusion",
"framework",
"application",
"fluid",
"IoC",
"Inversion of Control",
"MVC",
"evented"
],
"repository": "git://github.com/fluid-project/infusion.git",
"main": "./src/module/fluid.js",
"scripts": {
"prebuild": "run-s clean:dist deps build:sass:min",
"build": "run-p build:dist:*",
"build:dist:all": "npm run build:util:modules -- -o ./dist",
"build:dist:all-no-jquery": "npm run build:util:modules -- -e \"jquery, jquery-ui\" -o ./dist -n all-no-jquery",
"build:dist:framework": "npm run build:util:modules -- -i fluid-framework -o ./dist -n framework",
"build:dist:framework-no-jquery": "npm run build:util:modules -- -i fluid-framework -e \"jquery, jquery-ui\" -o ./dist -n framework-no-jquery",
"build:dist:uio": "npm run build:util:modules -- -i fluid-ui-options -o ./dist -n uio",
"build:dist:uio-no-jquery": "npm run build:util:modules -- -i fluid-ui-options -e \"jquery, jquery-ui\" -o ./dist -n uio-no-jquery",
"prebuild:pkg": "run-s prebuild:pkg:custom build:util:copyPkgDirs",
"build:pkg": "npm run build:util:modules -- --copy_dirs -z -o ./build",
"prebuild:pkg:custom": "run-s clean:build deps build:sass:min",
"build:pkg:custom": "npm run build:util:modules -- --copy_dirs -z -o ./build",
"prebuild:sass": "npm run clean:sass",
"build:sass": "sass src/framework/preferences/css/sass/:src/framework/preferences/css/",
"build:sass:min": "npm run build:sass -- --style=compressed",
"build:util:modules": "node ./buildModules.js \"./src/**/package.json\"",
"build:util:copyPkgDirs": "cpy --parents \"./@(demos|examples|tests)/**/*\" ./build",
"clean": "run-p clean:*",
"clean:build": "rimraf build products",
"clean:deps": "run-p clean:deps:*",
"clean:deps:code": "rimraf \"src/lib/@(hypher|jquery)\"",
"clean:deps:fonts": "rimraf \"src/lib/@(atkinson-hyperlegible|opendyslexic|opensans|roboto-slab)\"",
"clean:deps:tests": "rimraf \"tests/lib/@(simulate|sinon)\"",
"clean:dist": "rimraf dist",
"clean:sass": "rimraf \"src/framework/preferences/css/*.@(css|map)\"",
"clean:test": "rimraf reports coverage",
"deps": "run-p deps:*",
"predeps:code": "npm run clean:deps:code",
"deps:code": "run-p deps:code:**",
"deps:code:hypher": "cpy node_modules/hypher/dist/jquery.hypher.js src/lib/hypher/",
"deps:code:hypher:patterns": "cpy node_modules/@fluid-project/hyphenation-patterns/dist/browser/* src/lib/hypher/patterns/",
"deps:code:jquery": "cpy node_modules/jquery/dist/jquery.js src/lib/jquery/core/js/",
"deps:code:jquery:scrollTo": "cpy node_modules/jquery.scrollto/jquery.scrollTo.js src/lib/jquery/plugins/scrollTo/js/",
"deps:code:jquery:ui": "cpy \"node_modules/jquery-ui/ui/@(version|widget|plugin|safe-active-element|safe-blur|position|data|keycode|scroll-parent|unique-id).js\" src/lib/jquery/ui/js/",
"deps:code:jquery:ui:themes:images": "cpy node_modules/jquery-ui/themes/base/images/*.png src/lib/jquery/ui/css/default-theme/images",
"deps:code:jquery:ui:themes:styles": "cpy \"node_modules/jquery-ui/themes/base/@(core|theme|tooltip).css\" src/lib/jquery/ui/css/default-theme/",
"deps:code:jquery:ui:widgets": "cpy \"node_modules/jquery-ui/ui/widgets/@(mouse|draggable|tooltip).js\" src/lib/jquery/ui/js/",
"deps:code:jquery:touchPunch": "cpy node_modules/jquery-ui-touch-punch/jquery.ui.touch-punch.js src/lib/jquery/plugins/touchPunch/js/",
"predeps:fonts": "npm run clean:deps:fonts",
"deps:fonts": "run-p deps:fonts:**",
"deps:fonts:atkinson-hyperlegible": "cpy node_modules/@fontsource/atkinson-hyperlegible/files/atkinson-hyperlegible-latin-*.woff2 src/lib/atkinson-hyperlegible/fonts/",
"deps:fonts:openSans": "cpy node_modules/@fontsource-variable/open-sans/files/open-sans-latin-*.woff2 src/lib/opensans/fonts/",
"deps:fonts:openDyslexic": "cpy node_modules/@fontsource/opendyslexic/files/opendyslexic-latin-*.woff2 src/lib/opendyslexic/fonts/",
"deps:fonts:roboto": "cpy node_modules/@fontsource-variable/roboto-slab/files/roboto-slab-latin-*.woff2 src/lib/roboto-slab/fonts/",
"predeps:tests": "npm run clean:deps:tests",
"deps:tests": "run-p deps:tests:*",
"deps:tests:simulate": "cpy node_modules/jquery-simulate/jquery.simulate.js tests/lib/jquery-simulate/js/",
"deps:tests:sinon": "cpy node_modules/sinon/pkg/sinon.js tests/lib/sinon/js/",
"deps:tests:xhr-mock": "cpy node_modules/xhr-mock/dist/xhr-mock.js tests/lib/xhr-mock/js/",
"lint": "fluid-lint-all",
"prepare": "run-s deps build:sass:min",
"prepublishOnly": "npm run test:bundles",
"prestart": "npm run prepare",
"start": "serve",
"pretest": "run-p clean:test prepare",
"test": "run-s test:browser test:node",
"posttest": "npm run test:report",
"test:browser": "testem ci --file tests/testem.js",
"pretest:bundles": "npm run build",
"test:bundles": "testem ci --file tests/bundle-tests/testem.js",
"test:node": "nyc node tests/node-tests/basic-node-tests.js",
"test:report": "nyc report -r text-summary -r html -r json",
"watch:sass": "npm run build:sass -- --watch",
"watch:sass:min": "npm run build:sass:min -- --watch"
},
"engines": {
"node": ">=12"
},
"browserslist": [
"extends browserslist-config-fluid"
],
"dependencies": {
"fluid-resolve": "1.3.0"
},
"devDependencies": {
"@fluid-project/hyphenation-patterns": "0.2.2-dev.20181115T221631Z.b2d0651",
"@fontsource-variable/open-sans": "5.0.29",
"@fontsource-variable/roboto-slab": "5.0.20",
"@fontsource/atkinson-hyperlegible": "5.0.20",
"@fontsource/opendyslexic": "5.0.11",
"bestzip": "2.2.1",
"browserslist-config-fluid": "0.1.0",
"cpy-cli": "3.1.1",
"dayjs": "1.10.7",
"eslint-config-fluid": "2.1.1",
"eslint-plugin-jsdoc": "39.6.2",
"fast-glob": "3.2.11",
"fluid-lint-all": "1.2.3",
"fluid-testem": "2.1.15",
"hypher": "0.2.5",
"jquery": "3.6.0",
"jquery-simulate": "1.0.2",
"jquery-ui": "1.13.0",
"jquery-ui-touch-punch": "0.2.3",
"jquery.scrollto": "2.1.3",
"minimist": "1.2.6",
"mkdirp": "1.0.4",
"npm-run-all": "4.1.5",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"sass": "1.43.4",
"serve": "13.0.2",
"sinon": "12.0.1",
"terser": "5.9.0",
"testem": "3.6.0",
"xhr-mock": "2.5.1"
}
}