File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /bin/bash
22
33# Process SVG files
4- ./node_modules/.bin/ babel-node bin/process-svgs.js
4+ npx babel-node bin/process-svgs.js
55
66# Create dist directory
7- ./node_modules/.bin/ rimraf dist
7+ npx rimraf dist
88mkdir dist
99
1010# Build icons.json
11- ./node_modules/.bin/ babel-node bin/build-icons-json.js
11+ npx babel-node bin/build-icons-json.js
1212
1313# Build SVG sprite
14- ./node_modules/.bin/ babel-node bin/build-sprite.js
14+ npx babel-node bin/build-sprite.js
1515
1616# Create dist/icons directory
17- ./node_modules/.bin/ rimraf dist/icons
17+ npx rimraf dist/icons
1818mkdir dist/icons
1919
2020# Build SVG icons
21- ./node_modules/.bin/ babel-node bin/build-svgs.js
21+ npx babel-node bin/build-svgs.js
2222
2323# Build JavaScript library
24- ./node_modules/.bin/ webpack --output-filename feather.js --mode development
25- ./node_modules/.bin/ webpack --output-filename feather.min.js --mode production
24+ npx webpack --output-filename feather.js --mode development
25+ npx webpack --output-filename feather.min.js --mode production
Original file line number Diff line number Diff line change 5353 "lint-staged" : " ^6.0.0" ,
5454 "npm-run-all" : " ^4.1.2" ,
5555 "prettier" : " ^1.8.2" ,
56- "rimraf" : " ^2.6.2" ,
5756 "semantic-release" : " ^12.2.2" ,
5857 "svgo" : " ^0.7.2" ,
5958 "webpack" : " ^4.8.3" ,
You can’t perform that action at this time.
0 commit comments