2020-10-26 16:17:00 +00:00
|
|
|
{
|
|
|
|
"name": "snip",
|
|
|
|
"version": "1.0.0",
|
|
|
|
"description": "A tiny url shortener",
|
|
|
|
"private": true,
|
2020-10-29 23:59:31 +00:00
|
|
|
"watch": {
|
|
|
|
"build_scss": {
|
2020-11-05 23:46:58 +00:00
|
|
|
"_comment": "Need structure like this because nodemon only watches js/coffescript by default",
|
2020-10-29 23:59:31 +00:00
|
|
|
"patterns": [
|
2020-11-05 23:46:58 +00:00
|
|
|
"snip/templates"
|
2020-10-29 23:59:31 +00:00
|
|
|
],
|
2020-11-05 23:46:58 +00:00
|
|
|
"extensions": "scss",
|
|
|
|
"runOnChangeOnly": false
|
2020-10-29 23:59:31 +00:00
|
|
|
},
|
|
|
|
"build_webpack": "templates/*.js"
|
|
|
|
},
|
2020-10-26 16:17:00 +00:00
|
|
|
"scripts": {
|
2020-11-05 23:46:58 +00:00
|
|
|
"build_scss": "node-sass --include-path node_modules/foundation-sites/scss --include-path node_modules/motion-ui/src -o snip/static snip/templates",
|
2020-10-29 23:59:31 +00:00
|
|
|
"build_webpack": "webpack --config webpack.dev.js",
|
|
|
|
"watch": "npm-watch",
|
2020-11-06 01:01:55 +00:00
|
|
|
"publish": "node-sass --include-path node_modules/foundation-sites/scss --include-path node_modules/motion-ui/src -o snip/static snip/templates && webpack --config webpack.prod.js"
|
2020-10-26 16:17:00 +00:00
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git@git.friedl.net:incubator/snip.git"
|
|
|
|
},
|
|
|
|
"author": "Armin Friedl",
|
|
|
|
"license": "MIT",
|
|
|
|
"devDependencies": {
|
2020-11-05 23:46:58 +00:00
|
|
|
"autoprefixer": "^10.0.1",
|
2020-10-26 16:17:00 +00:00
|
|
|
"clean-webpack-plugin": "^3.0.0",
|
|
|
|
"css-loader": "^4.2.2",
|
|
|
|
"gulp": "^4.0.2",
|
2020-10-29 23:59:31 +00:00
|
|
|
"node-sass": "^4.14.1",
|
|
|
|
"npm-watch": "^0.7.0",
|
2020-11-05 23:46:58 +00:00
|
|
|
"postcss-loader": "^4.0.4",
|
|
|
|
"postcss-preset-env": "^6.7.0",
|
2020-10-26 16:17:00 +00:00
|
|
|
"sass": "^1.26.10",
|
|
|
|
"sass-loader": "^10.0.2",
|
|
|
|
"style-loader": "^1.2.1",
|
|
|
|
"webpack": "^4.44.1",
|
|
|
|
"webpack-cli": "^3.3.12",
|
|
|
|
"webpack-merge": "^5.1.3"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2020-11-05 23:46:58 +00:00
|
|
|
"clipboard": "^2.0.6",
|
|
|
|
"foundation-sites": "^6.6.3",
|
2020-10-29 23:59:31 +00:00
|
|
|
"jquery": "^3.5.1",
|
|
|
|
"lodash": "^4.17.20",
|
2020-10-26 16:17:00 +00:00
|
|
|
"loglevel": "^1.7.0",
|
2020-11-05 23:46:58 +00:00
|
|
|
"motion-ui": "^2.0.3"
|
2020-10-26 16:17:00 +00:00
|
|
|
}
|
|
|
|
}
|