0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-24 19:17:48 +01:00
wagtail/package.json
Tim Heap ddebafa119 Remove libsass dependency, precompile CSS for distribution
Depending on libsass for all Wagtail installations was causing issues
with various operating systems, dramatically increasing installation
times, and preventing front end development adopting modern practices.

libsass has been removed as a dependency. Sass files are compiled before
release as a dependency of the `sdist` setup command. Sass compilation
is done through `gulp`. People wishing to hack on the frontend assets
should now install wagtail locally, install the node dependencies, and
run `gulp`:

    $ pip install -e path/to/wagtail
    $ cd path/to/wagtail
    $ npm install
    $ npm start

All the templates and JS files have been updated to reference the new
compiled CSS files instead of the Sass files.

Precompiled CSS for jquery-ui and similar have been moved out of the
`scss/` directory to the `css/` directory.
2015-05-01 08:53:04 +10:00

32 lines
735 B
JSON

{
"name": "wagtail",
"version": "1.0.0",
"repository": "https://github.com/torchbox/wagtail",
"private": true,
"browser": {},
"browserify": {
"transform": [
"browserify-shim"
]
},
"browserify-shim": {},
"devDependencies": {
"browserify": "~3.36.0",
"browserify-shim": "~3.4.1",
"gulp": "~3.8.11",
"gulp-autoprefixer": "~1.0.1",
"gulp-rename": "^1.2.2",
"gulp-sass": "~1.0.0",
"gulp-sourcemaps": "~1.2.2",
"gulp-util": "~2.2.14",
"jscs": "^1.12.0"
},
"dependencies": {},
"scripts": {
"build": "gulp build",
"start": "gulp watch",
"lint:js": "./node_modules/.bin/jscs ./wagtail || true",
"format:js": "./node_modules/.bin/jscs ./wagtail -x"
}
}