Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"presets": ["es2015", "stage-2"]
}
49 changes: 49 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"name": "gitea",
"version": "0.9.97",
"description": "Gitea - Git with a cup of tea",
"license": "MIT",
"scripts": {
"build": "webpack --progress --optimize-minimize -p --colors"
},
"dependencies": {},
"devDependencies": {
"@types/jquery.are-you-sure": "^0.0.28",
"babel": "^6.5.2",
"babel-cli": "^6.18.0",
"babel-core": "^6.18.2",
"babel-loader": "^6.2.8",
"babel-preset-es2015": "^6.18.0",
"babel-preset-stage-2": "^6.18.0",
"clipboard": "^1.5.15",
"codemirror": "^5.21.0",
"css-loader": "^0.26.1",
"dropzone": "^4.3.0",
"emojify": "^1.0.0",
"eslint": "^3.11.1",
"extract-text-webpack-plugin": "beta",
"font-awesome": "^4.7.0",
"font-awesome-loader": "^1.0.1",
"highlightjs": "^9.8.0",
"jquery": "^3.1.1",
"jquery-datetimepicker": "^2.5.4",
"jquery-minicolors": "^2.1.10",
"octicons": "^5.0.1",
"pdfjs-dist": "^1.6.377",
"postcss": "^5.2.6",
"postcss-browser-reporter": "^0.5.0",
"postcss-cli": "^2.6.0",
"postcss-cssnext": "^2.9.0",
"postcss-font-magician": "^1.5.0",
"postcss-import": "^9.0.0",
"postcss-loader": "^1.2.0",
"postcss-reporter": "^2.0.0",
"postcss-url": "^5.1.2",
"precss": "^1.4.0",
"semantic-ui-css": "^2.2.4",
"simplemde": "^1.11.2",
"style-loader": "^0.13.1",
"webpack": "beta",
"webpack-closure-compiler": "^2.1.2"
}
}
30 changes: 30 additions & 0 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
const importer = require('postcss-import')
// const importer = require('postcss-easy-import')
const customProperties = require('postcss-custom-properties')
const colorFunctions = require('postcss-color-function')
const fontMagician = require('postcss-font-magician')
const nesting = require('postcss-nesting')
const nested = require('postcss-nested')
const cssnext = require('postcss-cssnext')
// const browserReporter = require('postcss-browser-reporter')
// const reporter = require('postcss-reporter')

function postcssConfig (webpack) {
return [
importer({
path: [
'./public',
'./node_modules'
],
addDependencyTo: webpack
}),
customProperties,
colorFunctions,
fontMagician,
nesting,
nested,
cssnext
]
}

module.exports = postcssConfig
4 changes: 0 additions & 4 deletions public/assets/font-awesome-4.6.3/css/font-awesome.min.css

This file was deleted.

Binary file not shown.
Binary file not shown.
685 changes: 0 additions & 685 deletions public/assets/font-awesome-4.6.3/fonts/fontawesome-webfont.svg

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed public/assets/octicons-4.3.0/octicons.eot
Binary file not shown.
Loading