forked from sogno-platform/pintura
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
49 lines (49 loc) · 2.06 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
{
"name": "Pintura",
"version": "0.1.0",
"main": "main.js",
"license": "MPL-2.0",
"repository": {
"type": "git",
"url": "https://git.rwth-aachen.de/acs/core/cim/pintura.git"
},
"mode": "production",
"scripts": {
"makeDirs": "mkdir -p cimmenu/lib && mkdir -p cimsvg/lib && mkdir -p dist",
"cimsvg": "cd cimsvg && npm install && npm run build",
"cimmenu": "cd cimmenu && npm install && npm run build",
"cgmes": "cd cimmenu && npm install && npm run createCgmesIndex",
"libs": "npm run cgmes && npm run cimsvg && npm run cimmenu",
"makeDist": "cp -a cimmenu/lib/*.js cimsvg/lib/*.js dist",
"build-tasks": "cat cimmenu/css/layout.css cimmenu/css/colours.css cimsvg/css/svg.css > cimmenu/css/bundle.css && npm run makeDirs && npm run libs && npm run makeDist",
"build": "npm config set mode production && npm run build-tasks",
"build-dev": "export ROLLUP_FLAGS=' --sourcemap inline --environment BUILD:development'; export ESLINT_FLAGS=' --rule no-console:off '; npm config set mode development && npm run build-tasks",
"initializeTests": "node node_modules/jasmine/bin/jasmine init",
"test": "node test/runTests.js && npm run lint && npm run ctlint",
"lintfix": "eslint --fix index.js cimsvg/*.js cimsvg/src/*.js cimmenu/*.js cimmenu/src/*.js ${ESLINT_FLAGS}",
"ctlint": "cd cimmenu/templates && eslint -c .eslintrc.js *.js ${ESLINT_FLAGS} && cd ../..",
"lint": "eslint index.js cimsvg/*.js cimsvg/src/*.js cimmenu/*.js cimmenu/src/*.js ${ESLINT_FLAGS}",
"mockNpmInstall": "./npm/mockInstall.sh",
"release": "npm run build && tar zcvf dist/release.tgz index.html dist/libcimsvg.js dist/libcimmenu.js"
},
"dependencies": {
"@babel/core": "*",
"@babel/preset-env": "*",
"@babel/register": "*",
"@xmldom/xmldom": "*",
"eslint": "*",
"formidable": "*",
"handlebars": "*",
"html": "*",
"html-format": "*",
"jasmine": "*",
"jasmine-console-reporter": "*",
"js-beautify": "*",
"jsdom": "*",
"jszip": "*",
"rollup": "*"
},
"devDependencies": {
"ol": "*"
}
}