File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 ],
99 "scripts" : {
1010 "hook" : " [ -d .git ] && chmod +x .pre-commit && mkdir -p .git/hooks && ln -sf ../../.pre-commit .git/hooks/pre-commit && echo \"\\ x1B[01;93mAdd git pre-commit hook successed.\\ x1B[0m\" || echo \"\\ x1B[31mWarning: Add git pre-commit hook failed.\\ x1B[0m\" " ,
11- "postinstall" : " npm run hook & npm run update" ,
1211 "dev" : " NODE_ENV=development start-storybook -p 9001" ,
1312 "start" : " npm run dev" ,
1413 "clean" : " rimraf lib/* || true" ,
1716 "build:css" : " stylus ./src -o ./lib" ,
1817 "build:img" : " imagemin src/* --out-dir=lib" ,
1918 "build" : " npm run build:js & npm run build:css & npm run build:img || true" ,
20- "prepublish" : " npm run build && npm version patch -m \" bump %s\" " ,
19+ "prepublish" : " npm version patch -m \" bump %s\" " ,
2120 "update" : " updtr" ,
2221 "lint" : " standard | snazzy" ,
2322 "pretest" : " npm run lint" ,
7271 "webpack-dev-server" : " ^2.0.0-beta"
7372 },
7473 "dependencies" : {
74+ "babel-preset-fe" : " ^1.0.13" ,
7575 "react" : " ^15.0.2" ,
7676 "react-dom" : " ^15.0.2"
7777 },
You can’t perform that action at this time.
0 commit comments