Skip to content

Commit 6de9e57

Browse files
author
Miguel Solorio
committed
Update scripts
1 parent 0f789dd commit 6de9e57

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

.devcontainer/devcontainer.json

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at:
22
// https://github.com/microsoft/vscode-dev-containers/tree/v0.128.0/containers/javascript-node-10
33
{
4-
"name": "Node.js 10",
4+
"name": "Codicons",
55
"dockerFile": "Dockerfile",
66
// Set *default* container specific settings.json values on container create.
77
"settings": {
88
"terminal.integrated.shell.linux": "/bin/bash"
99
},
1010
// Add the IDs of extensions you want installed when the container is created.
11-
"extensions": [
12-
"dbaeumer.vscode-eslint"
13-
]
11+
// "extensions": []
1412
// Use 'forwardPorts' to make a list of ports inside the container available locally.
1513
// "forwardPorts": [],
1614
// Use 'postCreateCommand' to run commands after the container is created.

package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"description": "",
55
"main": "index.js",
66
"scripts": {
7-
"clean": "node scripts/reset.js",
8-
"svgo": "svgo -f src/icons/ --config config.yml",
9-
"replace-in-vscode": "cp -R dist/codicon.ttf ../vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf",
10-
"export-to-csv": "node scripts/export-to-csv.js -f dist/codicon.ttf > dist/codicon.csv",
11-
"fonts": "icon-font-generator src/icons/*.svg -o dist -n codicon -p codicon --csstp src/template/styles.hbs --height=1000 --center --codepoints src/template/mapping.json --json false --types 'ttf'",
12-
"dev": "npm run clean && npm run svgo && npm run fonts -- --html true --htmltp src/template/preview.hbs && npm run export-to-csv && npm run replace-in-vscode",
13-
"build": "npm run clean && npm run svgo && npm run fonts -- --html true --htmltp src/template/preview.hbs"
7+
"clean": "node ./scripts/reset.js",
8+
"svgo": "svgo -f ./src/icons/ --config config.yml",
9+
"replace-in-vscode": "cp -R ./dist/codicon.ttf ../vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf",
10+
"export-to-csv": "node ./scripts/export-to-csv.js -f ./dist/codicon.ttf > ./dist/codicon.csv",
11+
"fonts": "icon-font-generator ./src/icons/*.svg -o dist -n codicon -p codicon --csstp ./src/template/styles.hbs --height=1000 --center --codepoints ./src/template/mapping.json --json false --types 'ttf'",
12+
"dev": "npm run clean && npm run svgo && npm run fonts -- --html true --htmltp ./src/template/preview.hbs && npm run export-to-csv && npm run replace-in-vscode",
13+
"build": "npm run clean && npm run svgo && npm run fonts -- --html true --htmltp ./src/template/preview.hbs"
1414
},
1515
"repository": {
1616
"type": "git",

0 commit comments

Comments
 (0)