This repository has been archived on 2020-05-08. You can view files and clone it, but cannot push or open issues or pull requests.
_s/package.json

55 lines
1.9 KiB
JSON
Raw Normal View History

{
"name": "underscores",
"version": "1.0.0",
"description": "Hi. I'm a starter theme called _s, or underscores, if you like. I'm a theme meant for hacking so don't use me as a Parent Theme. Instead try turning me into the next, most awesome, WordPress theme out there. That's what I'm here for.",
"author": "Automattic Theme Team",
"license": "GPL-2.0-or-later",
"keywords": [
"WordPress",
"Theme"
],
"homepage": "https://github.com/Automattic/_s#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/Automattic/_s.git"
},
"bugs": {
"url": "https://github.com/Automattic/_s/issues"
},
"devDependencies": {
2020-04-30 18:13:54 +00:00
"@wordpress/scripts": "^9.0.0",
"archiver": "^4.0.1",
2020-04-30 18:13:54 +00:00
"node-sass": "^4.14.0",
2020-05-07 17:25:37 +00:00
"rtlcss": "^2.5.0",
"autoprefixer": "^9.7.6",
"chokidar-cli": "^2.1.0",
"npm-run-all": "^4.1.5",
"postcss-cli": "^7.1.1"
},
"rtlcssConfig": {
"options": {
"autoRename": false,
"autoRenameStrict": false,
"blacklist": {},
"clean": true,
"greedy": false,
"processUrls": false,
"stringMap": []
},
"plugins": [],
"map": false
},
"scripts": {
2020-05-07 17:25:37 +00:00
"compile:css": "node-sass --source-map true sass/style.scss style.css && node-sass --source-map true sass/woocommerce.scss woocommerce.css && stylelint '*.css' --fix || true && stylelint '*.css' --fix",
"compile:rtl": "rtlcss style.css style-rtl.css",
"lint:scss": "wp-scripts lint-style 'sass/**/*.scss'",
"lint:js": "wp-scripts lint-js 'js/*.js'",
2020-05-07 17:25:37 +00:00
"bundle": "node bin/bundle.js",
"build-task:scss-compile": "npm-run-all -p compile:*",
"build-task:autoprefixer": "postcss *.css --use autoprefixer --replace",
"sass:build": "npm-run-all -s build-task:scss-compile build-task:autoprefixer",
"sass:watch": "chokidar 'sass/**/*.scss' -c 'npm run sass:build'",
"dev": "npm-run-all -p sass:*"
}
}