Skip to content

Commit a7be6ee

Browse files
pushredepicfaace
authored andcommittedFeb 23, 2019
Remove build:readme script and toctoc dep (#1189)
Followup to f62cfc4 which broke the build:readme script
1 parent f9d4c63 commit a7be6ee

File tree

2 files changed

+2
-223
lines changed

2 files changed

+2
-223
lines changed
 

‎package-lock.json

-219
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+2-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"version": "1.2.1",
44
"description": "A simple React component capable of building HTML forms out of a JSON schema.",
55
"scripts": {
6-
"build:readme": "toctoc README.md -w",
76
"build:lib": "rimraf lib && cross-env NODE_ENV=production babel -d lib/ src/",
87
"build:dist": "rimraf dist && cross-env NODE_ENV=production webpack --config webpack.config.dist.js",
98
"build:playground": "rimraf build && cross-env NODE_ENV=production webpack --config webpack.config.prod.js && cp playground/index.prod.html build/index.html",
@@ -14,8 +13,8 @@
1413
"prepare": "npm run dist",
1514
"precommit": "lint-staged",
1615
"publish-to-gh-pages": "npm run build:playground && gh-pages --dist build/",
17-
"publish-to-npm": "npm run build:readme && npm run dist && npm publish",
18-
"preversion": "npm run build:playground && npm run dist && npm run build:readme && npm run cs-check && npm run lint",
16+
"publish-to-npm": "npm run dist && npm publish",
17+
"preversion": "npm run build:playground && npm run dist && npm run cs-check && npm run lint",
1918
"start": "node devServer.js",
2019
"tdd": "cross-env NODE_ENV=test mocha --require babel-register --watch --require ./test/setup-jsdom.js test/**/*_test.js",
2120
"test": "cross-env NODE_ENV=test mocha --require babel-register --require ./test/setup-jsdom.js test/**/*_test.js",
@@ -96,7 +95,6 @@
9695
"rimraf": "^2.5.4",
9796
"sinon": "^1.17.6",
9897
"style-loader": "^0.13.1",
99-
"toctoc": "^0.2.3",
10098
"webpack": "^4.20.2",
10199
"webpack-cli": "^3.1.2",
102100
"webpack-dev-middleware": "^3.4.0",

0 commit comments

Comments
 (0)
Please sign in to comment.