Page MenuHomeDevCentral

D2435.id6123.diff
No OneTemporary

D2435.id6123.diff

diff --git a/README.md b/README.md
--- a/README.md
+++ b/README.md
@@ -80,6 +80,8 @@
----------------------------------------------------
For the Node dependencies, edit `components/package-template.json`.
+Then run `make publish` to update the repository reference package.
+That last step allows to expose dependencies to security trackers.
When a new Foundation version is released, changes to templates/assets/
are expected.
diff --git a/package.json b/package.json
new file mode 100644
--- /dev/null
+++ b/package.json
@@ -0,0 +1,55 @@
+{
+ "main": "gulpfile.babel.js",
+ "scripts": {
+ "start": "gulp",
+ "build": "gulp build --production"
+ },
+ "dependencies": {
+ "foundation-sites": "~6.4.1",
+ "jquery": ">=3.0.0",
+ "motion-ui": "^2.0.3",
+ "what-input": "^4.1.3"
+ },
+ "devDependencies": {
+ "@babel/core": "^7.1.2",
+ "@babel/preset-env": "^7.1.0",
+ "@babel/register": "^7.0.0",
+ "autoprefixer": "^9.1.5",
+ "babel-loader": "^8.0.4",
+ "browser-sync": "^2.10.0",
+ "gulp": "^4.0.0",
+ "gulp-babel": "^8.0.0",
+ "gulp-clean-css": "^3.3.1",
+ "gulp-cli": "^2.0.1",
+ "gulp-concat": "^2.5.2",
+ "gulp-extname": "^0.2.0",
+ "gulp-if": "^2.0.0",
+ "gulp-imagemin": "^7.1.0",
+ "gulp-load-plugins": "^1.1.0",
+ "gulp-postcss": "^8.0.0",
+ "gulp-sass": "^5.0.0",
+ "gulp-sourcemaps": "^2.6.4",
+ "gulp-uglify": "^3.0.1",
+ "js-yaml": "^3.4.6",
+ "panini": "^1.3.0",
+ "rimraf": "^2.4.3",
+ "sass": "^1.41.1",
+ "style-sherpa": "^1.0.0",
+ "uncss": "^0.16.2",
+ "vinyl-named": "^1.1.0",
+ "webpack": "^5.53.0",
+ "webpack-stream": "^7.0.0",
+ "yargs": "^17.1.1"
+ },
+ "bugs": {
+ "url": "https://devcentral.nasqueron.org/"
+ },
+ "private": true,
+ "name": "nasqueron-upsection-test",
+ "version": "0.1.0",
+ "description": "Allow to test if we can build a static site",
+ "repository": {
+ "type": "git",
+ "url": "https://devcentral.nasqueron.org/source/upsection.git"
+ }
+}
\ No newline at end of file
diff --git a/src/upsection.py b/src/upsection.py
--- a/src/upsection.py
+++ b/src/upsection.py
@@ -34,7 +34,7 @@
**get_package_config()
}
- return json.dumps(package)
+ return json.dumps(package, sort_keys=False, indent=4)
def get_package_config():

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 23, 01:34 (14 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2256806
Default Alt Text
D2435.id6123.diff (2 KB)

Event Timeline