-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
executable file
·56 lines (56 loc) · 1.91 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
{
"name": "portal-theme",
"version": "2.0.0",
"description": "Portal theme for...",
"main": "./dist/js/main.js",
"author": {
"owner": "TIBCO",
"name": "TIBCO",
"url": "https://tibco.com"
},
"license": "All Rights Reserved",
"blackbeard": {
"version": "2.10.0",
"author": "TIBCO",
"owner": "TIBCO",
"theme": "Default"
},
"repository": {
"type": "git",
"url": "http://github.com/mashery/portal-theme-starter-kit"
},
"scripts": {
"clean": "recursive-delete 'dist'",
"js": "rollup --config",
"setup": "rollup --config rollup.setup.js",
"css": "node sass.js",
"svg-default": "svgo -f src/svg dist/default/svg -r",
"svg-skinny-nav": "svgo -f src/svg dist/skinny-nav/svg -r",
"svg-sidebar": "svgo -f src/svg dist/sidebar/svg -r",
"svg": "npm-run-all -p svg-default svg-skinny-nav svg-sidebar",
"copy-default": "recursive-copy 'src/copy' 'dist/default'",
"copy-skinny-nav": "recursive-copy 'src/copy' 'dist/skinny-nav'",
"copy-sidebar": "recursive-copy 'src/copy' 'dist/sidebar'",
"copy": "npm-run-all -p copy-default copy-skinny-nav copy-sidebar",
"build-dirty": "npm-run-all -p js setup css svg copy",
"build": "npm-run-all -s clean build-dirty",
"watch-css": "chokidar './src/**/*.scss' -c 'npm run css'",
"watch-js": "chokidar './src/**/*.js' -c 'npm run js'",
"watch-setup": "chokidar './src/**/*.js' -c 'npm run setup'",
"watch-svg": "chokidar './src/**/*.svg' -c 'npm run svg'",
"watch-copy": "chokidar './src/copy/**/*.*' -c 'npm run copy'",
"watch": "npm-run-all -p build watch-css watch-js watch-setup watch-svg watch-copy",
"server-start": "browser-sync start --files 'dist' --server 'dist'",
"server": "npm-run-all -p watch server-start"
},
"devDependencies": {
"npm-run-all": "^4.1.5",
"recursive-fs": "^2.1.0",
"rollup": "^2.6.1",
"rollup-plugin-terser": "^7.0.2",
"sass": "^1.26.5",
"svgo": "^2.8.0",
"chokidar-cli": "^2.1.0",
"browser-sync": "^2.26.14"
}
}