generator-portals-clientside
Version:
Generates a SharePoint clientside project skeleton. Brought to you by Skyline's Portals & Collaboration Team.
51 lines (50 loc) • 1.91 kB
JSON
{
"name": "<%= projectName %>",
"version": "0.0.1",
"description": "SharePoint Clientside Project developed by Skyline Technologies.",
"main": "src/entries/entry.site.js",
"scripts": {
"prebuild": "npm run clean",
"build": "powershell -noprofile ./powershell/build.ps1 & npm run build:css & npm run build:js",
"build:js": "webpack -p",
"predebug": "npm run build",
"debug": "concurrently \"npm run watch:css\" \"npm run watch:js\" \"live-server --port=3001\"",
"build:css": "node-sass src/styles/site.scss -o \"dist/Style Library/_<%= namespace %>\" --output-style compressed",
"deploy": "powershell -noprofile ./powershell/deploy.ps1",
"prespinstall": "npm run build",
"spinstall": "powershell -noprofile ./powershell/install.ps1",
"spuninstall": "powershell -noprofile ./powershell/uninstall.ps1",
"watch:js": "webpack --watch",
"watch:css": "node-sass --watch src/styles/site.scss -o dist",
"clean": "rimraf dist"
},
"author": "Skyline Portals Team",
"devDependencies": {
"babel-core": "^6.26.0",
"babel-loader": "^7.1.2",
"babel-preset-env": "^1.6.1",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-es2015-destructuring": "^6.23.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"concurrently": "^3.4.0",
"css-loader": "^0.23.1",
"eslint": "^2.9.0",
"node-sass": "^4.6.0",
"rimraf": "^2.5.2",
"skyline-sppowershell": "^3.0.1",
"style-loader": "^0.13.0",
"webpack": "^3.8.1"
},
"dependencies": {
"babel-polyfill": "^6.26.0",
"whatwg-fetch": "^2.0.3",
"spscript": "^3.0.7-beta"
},
"portals": {
"namespace": "<%= namespace %>",
"url": "<%= sharepointUrl %>",
"folder": "Style Library",
"subfolder": "_<%= namespace %>",
"version": "<%= version %>"
}
}