forked from jonnitto/Jonnitto.Plyr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
30 lines (30 loc) · 1.81 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
{
"name": "JonnittoPlyr",
"description": "Dependencies for Jonnitto.Plyr",
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/jonnitto/Jonnitto.Plyr.git"
},
"devDependencies": {
"conditional-file-append": "^1.0.0",
"plyr": "^3.5.6",
"rename-files": "0.0.2",
"replace-in-file": "^4.1.1"
},
"scripts": {
"private:styles": "rm -rf Resources/Private/Assets/Styles;mkdir -p Resources/Private/Assets/Styles;cp -R node_modules/plyr/src/sass/. Resources/Private/Assets/Styles",
"private:sprite": "rm -rf Resources/Private/Assets/Sprite;mkdir -p Resources/Private/Assets/Sprite;cp -R node_modules/plyr/src/sprite/. Resources/Private/Assets/Sprite",
"private:scripts": "rm -rf Resources/Private/Assets/Scripts;mkdir -p Resources/Private/Assets/Scripts;cp -R node_modules/plyr/src/js/. Resources/Private/Assets/Scripts",
"private": "yarn run private:styles && yarn run private:sprite && yarn run private:scripts",
"postprivate": "condappend .neos-plyr Resources/Private/Assets/Styles/plyr.scss '.jonnitto-plyr-container {\n margin-bottom: 1em;\n}\n\n.jonnitto-plyr-container > .plyr,\n.neos-plyr {\n width: 100%;\n}\n'",
"public": "rm -rf Resources/Public;mkdir -p Resources/Public;cp -R node_modules/plyr/dist/. Resources/Public",
"postpublic": "condappend .neos-plyr Resources/Public/plyr.css '.jonnitto-plyr-container{margin-bottom:1em}.jonnitto-plyr-container>.plyr,.neos-plyr{width:100%}'",
"build": "yarn run private && yarn run public",
"postbuild": "replace-in-file '/https://cdn\\.plyr\\.io/[^/]+//gm' '/_Resources/Static/Packages/Jonnitto.Plyr/' 'Resources/**/*.*' --ignore=Resources/**/*.svg --isRegex --verbose",
"start": "yarn run build",
"install": "yarn run build",
"postupdate": "yarn run build",
"test": "yarn run build"
}
}