Add clean/veryclean targets

This commit is contained in:
Tony Garnock-Jones 2022-01-26 17:05:40 +01:00
parent 93171b9717
commit 8d16071f90
8 changed files with 21 additions and 8 deletions

View File

@ -13,7 +13,9 @@
"compile": "../../node_modules/.bin/tsc", "compile": "../../node_modules/.bin/tsc",
"compile:watch": "../../node_modules/.bin/tsc -w", "compile:watch": "../../node_modules/.bin/tsc -w",
"rollup": "../../node_modules/.bin/rollup -c", "rollup": "../../node_modules/.bin/rollup -c",
"rollup:watch": "../../node_modules/.bin/rollup -c -w" "rollup:watch": "../../node_modules/.bin/rollup -c -w",
"clean": "rm -rf lib dist",
"veryclean": "yarn run clean && rm -rf node_modules"
}, },
"main": "dist/syndicate-compiler.js", "main": "dist/syndicate-compiler.js",
"module": "lib/index.js", "module": "lib/index.js",

View File

@ -17,7 +17,9 @@
"rollup": "../../node_modules/.bin/rollup -c", "rollup": "../../node_modules/.bin/rollup -c",
"rollup:watch": "../../node_modules/.bin/rollup -c -w", "rollup:watch": "../../node_modules/.bin/rollup -c -w",
"test": "../../node_modules/.bin/jest", "test": "../../node_modules/.bin/jest",
"cover": "../../node_modules/.bin/nyc --reporter=html ../../node_modules/.bin/jest" "cover": "../../node_modules/.bin/nyc --reporter=html ../../node_modules/.bin/jest",
"clean": "rm -rf lib dist",
"veryclean": "yarn run clean && rm -rf node_modules"
}, },
"main": "dist/syndicate.js", "main": "dist/syndicate.js",
"module": "lib/index.js", "module": "lib/index.js",

View File

@ -18,7 +18,8 @@
"compile:watch": "syndicate-tsc -w --verbose --intermediate-directory src.ts", "compile:watch": "syndicate-tsc -w --verbose --intermediate-directory src.ts",
"rollup": "rollup -c", "rollup": "rollup -c",
"rollup:watch": "rollup -c -w", "rollup:watch": "rollup -c -w",
"clean": "rm -rf lib/ dist/ index.js index.js.map" "clean": "rm -rf lib/ dist/ index.js index.js.map",
"veryclean": "yarn run clean && rm -rf node_modules"
}, },
"dependencies": { "dependencies": {
"@syndicate-lang/core": "^0.11.3" "@syndicate-lang/core": "^0.11.3"

View File

@ -11,7 +11,9 @@
"scripts": { "scripts": {
"prepare": "yarn compile", "prepare": "yarn compile",
"compile": "../../node_modules/.bin/tsc", "compile": "../../node_modules/.bin/tsc",
"compile:watch": "../../node_modules/.bin/tsc -w" "compile:watch": "../../node_modules/.bin/tsc -w",
"clean": "rm -rf lib",
"veryclean": "yarn run clean && rm -rf node_modules"
}, },
"author": "Tony Garnock-Jones <tonyg@leastfixedpoint.com>", "author": "Tony Garnock-Jones <tonyg@leastfixedpoint.com>",
"dependencies": { "dependencies": {

View File

@ -18,7 +18,8 @@
"compile:watch": "syndicate-tsc -w --verbose --intermediate-directory src.ts", "compile:watch": "syndicate-tsc -w --verbose --intermediate-directory src.ts",
"rollup": "rollup -c", "rollup": "rollup -c",
"rollup:watch": "rollup -c -w", "rollup:watch": "rollup -c -w",
"clean": "rm -rf lib/ dist/ index.js index.js.map" "clean": "rm -rf lib/ dist/ index.js index.js.map",
"veryclean": "yarn run clean && rm -rf node_modules"
}, },
"dependencies": { "dependencies": {
"@syndicate-lang/core": "^0.11.3" "@syndicate-lang/core": "^0.11.3"

View File

@ -11,7 +11,9 @@
"scripts": { "scripts": {
"prepare": "yarn compile", "prepare": "yarn compile",
"compile": "../../node_modules/.bin/tsc", "compile": "../../node_modules/.bin/tsc",
"compile:watch": "../../node_modules/.bin/tsc -w" "compile:watch": "../../node_modules/.bin/tsc -w",
"clean": "rm -rf lib",
"veryclean": "yarn run clean && rm -rf node_modules"
}, },
"main": "lib/index.js", "main": "lib/index.js",
"types": "lib/index.d.ts", "types": "lib/index.d.ts",

View File

@ -11,7 +11,9 @@
"scripts": { "scripts": {
"prepare": "yarn compile", "prepare": "yarn compile",
"compile": "../../node_modules/.bin/tsc", "compile": "../../node_modules/.bin/tsc",
"compile:watch": "../../node_modules/.bin/tsc -w" "compile:watch": "../../node_modules/.bin/tsc -w",
"clean": "rm -rf lib",
"veryclean": "yarn run clean && rm -rf node_modules"
}, },
"author": "Tony Garnock-Jones <tonyg@leastfixedpoint.com>", "author": "Tony Garnock-Jones <tonyg@leastfixedpoint.com>",
"dependencies": { "dependencies": {

View File

@ -16,7 +16,8 @@
"compile:watch": "syndicate-tsc -w --verbose --intermediate-directory src.ts", "compile:watch": "syndicate-tsc -w --verbose --intermediate-directory src.ts",
"rollup": "rollup -c", "rollup": "rollup -c",
"rollup:watch": "rollup -c -w", "rollup:watch": "rollup -c -w",
"clean": "rm -rf lib/ dist/ index.js index.js.map" "clean": "rm -rf lib/ dist/ index.js index.js.map",
"veryclean": "yarn run clean && rm -rf node_modules"
}, },
"main": "dist/syndicate-ws-relay.js", "main": "dist/syndicate-ws-relay.js",
"module": "lib/index.js", "module": "lib/index.js",