Address comments; clean docs dir before build.
This commit is contained in:
@@ -8,10 +8,11 @@
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"build:watch": "tsc --watch",
|
||||
"clean": "rm -rf lib test my-element.{d.ts,d.ts.map,js,js.map}",
|
||||
"clean": "rimraf my-element.{d.ts,d.ts.map,js,js.map} test/my-element.{d.ts,d.ts.map,js,js.map} test/my-element_test.{d.ts,d.ts.map,js,js.map}",
|
||||
"lint": "lit-analyzer && eslint 'src/**/*.ts'",
|
||||
"format": "prettier src/* --write",
|
||||
"docs": "npm run build && npm run analyze && npm run docs:build && npm run docs:assets && npm run docs:gen",
|
||||
"docs": "npm run docs:clean && npm run build && npm run analyze && npm run docs:build && npm run docs:assets && npm run docs:gen",
|
||||
"docs:clean": "rimraf docs",
|
||||
"docs:gen": "eleventy --config=.eleventy.cjs",
|
||||
"docs:gen:watch": "eleventy --config=.eleventy.cjs --watch",
|
||||
"docs:build": "rollup -c --file docs/my-element.bundled.js",
|
||||
@@ -55,6 +56,7 @@
|
||||
"lit-analyzer": "^1.1.9",
|
||||
"mocha": "^6.2.2",
|
||||
"prettier": "^1.19.1",
|
||||
"rimraf": "^3.0.2",
|
||||
"rollup": "^1.27.13",
|
||||
"rollup-plugin-filesize": "^6.2.1",
|
||||
"rollup-plugin-node-resolve": "^5.2.0",
|
||||
|
||||
Reference in New Issue
Block a user