Skip to content

Commit f10c073

Browse files
author
Simon Planinschek
committed
Add react as peer dependency and changed some scripts
1 parent 87e2b61 commit f10c073

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

package.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@
44
"description": "Material design icon components for React",
55
"main": "dist/index.ts",
66
"scripts": {
7-
"build": "npm run bootstrapping",
8-
"bootstrapping": "node src/bootstrapper.js",
9-
"clean": "rm -rf dist/",
10-
"lint": "eslint --ext js,ts,tsx src",
7+
"build": "tsc",
8+
"generate": "rm -rf src/* && node generator.js",
9+
"lint": "eslint --ext js,ts,tsx ./generator.js",
1110
"lint:fix": "npm run lint -- --fix",
1211
"test": "jest --config jestconfig.json --passWithNoTests",
1312
"prepare": "npm run build",
@@ -51,5 +50,9 @@
5150
"prettier": "^2.1.2",
5251
"ts-jest": "^26.4.1",
5352
"typescript": "^4.0.3"
53+
},
54+
"peerDependencies": {
55+
"react": "^16.13.1",
56+
"react-dom": "^16.13.1"
5457
}
5558
}

0 commit comments

Comments
 (0)