chore: postversion script

This commit is contained in:
cha0s 2022-02-27 20:40:51 -06:00
parent 7807cb4085
commit 778c169883
16 changed files with 16 additions and 1 deletions

View File

@ -14,6 +14,7 @@
"build": "NODE_PATH=./node_modules webpack --config ./build/webpack.config.js --mode production", "build": "NODE_PATH=./node_modules webpack --config ./build/webpack.config.js --mode production",
"clean": "rm -rf dist node_modules yarn.lock && yarn", "clean": "rm -rf dist node_modules yarn.lock && yarn",
"lint": "NODE_PATH=./node_modules eslint --config ./build/.eslintrc.js --format codeframe --ext mjs,js .", "lint": "NODE_PATH=./node_modules eslint --config ./build/.eslintrc.js --format codeframe --ext mjs,js .",
"postversion": "cp package.json dist",
"test": "npm run build && mocha -t 10000 --reporter min --colors ./dist/test.js" "test": "npm run build && mocha -t 10000 --reporter min --colors ./dist/test.js"
}, },
"files": [ "files": [

View File

@ -11,6 +11,7 @@
"build": "flecks build", "build": "flecks build",
"clean": "flecks clean", "clean": "flecks clean",
"lint": "flecks lint", "lint": "flecks lint",
"postversion": "cp package.json dist",
"test": "flecks test" "test": "flecks test"
}, },
"files": [ "files": [

View File

@ -11,6 +11,7 @@
"build": "flecks build", "build": "flecks build",
"clean": "flecks clean", "clean": "flecks clean",
"lint": "flecks lint", "lint": "flecks lint",
"postversion": "cp package.json dist",
"test": "flecks test" "test": "flecks test"
}, },
"files": [ "files": [

View File

@ -1,10 +1,10 @@
{ {
"version": "1.0.0", "version": "1.0.0",
"main": "index.js",
"scripts": { "scripts": {
"build": "flecks build", "build": "flecks build",
"clean": "flecks clean", "clean": "flecks clean",
"lint": "flecks lint", "lint": "flecks lint",
"postversion": "cp package.json dist",
"test": "flecks test" "test": "flecks test"
}, },
"files": [ "files": [

View File

@ -8,6 +8,7 @@
"build": "flecks build", "build": "flecks build",
"clean": "flecks clean", "clean": "flecks clean",
"lint": "flecks lint", "lint": "flecks lint",
"postversion": "cp package.json dist",
"test": "flecks test" "test": "flecks test"
}, },
"files": [ "files": [

View File

@ -9,6 +9,7 @@
"build": "flecks build", "build": "flecks build",
"clean": "flecks clean", "clean": "flecks clean",
"lint": "flecks lint", "lint": "flecks lint",
"postversion": "cp package.json dist",
"test": "flecks test" "test": "flecks test"
}, },
"files": [ "files": [

View File

@ -12,6 +12,7 @@
"scripts": { "scripts": {
"build": "flecks build", "build": "flecks build",
"lint": "flecks lint", "lint": "flecks lint",
"postversion": "cp package.json dist",
"test": "flecks test" "test": "flecks test"
}, },
"files": [ "files": [

View File

@ -9,6 +9,7 @@
"build": "flecks build", "build": "flecks build",
"clean": "flecks clean", "clean": "flecks clean",
"lint": "flecks lint", "lint": "flecks lint",
"postversion": "cp package.json dist",
"test": "flecks test" "test": "flecks test"
}, },
"files": [ "files": [

View File

@ -9,6 +9,7 @@
"build": "flecks build", "build": "flecks build",
"clean": "flecks clean", "clean": "flecks clean",
"lint": "flecks lint", "lint": "flecks lint",
"postversion": "cp package.json dist",
"test": "flecks test" "test": "flecks test"
}, },
"files": [ "files": [

View File

@ -9,6 +9,7 @@
"build": "flecks build", "build": "flecks build",
"clean": "flecks clean", "clean": "flecks clean",
"lint": "flecks lint", "lint": "flecks lint",
"postversion": "cp package.json dist",
"postinstall": "node src/fake-context.js", "postinstall": "node src/fake-context.js",
"test": "flecks test" "test": "flecks test"
}, },

View File

@ -8,6 +8,7 @@
"build": "flecks build", "build": "flecks build",
"clean": "flecks clean", "clean": "flecks clean",
"lint": "flecks lint", "lint": "flecks lint",
"postversion": "cp package.json dist",
"test": "flecks test" "test": "flecks test"
}, },
"files": [ "files": [

View File

@ -9,6 +9,7 @@
"build": "flecks build", "build": "flecks build",
"clean": "flecks clean", "clean": "flecks clean",
"lint": "flecks lint", "lint": "flecks lint",
"postversion": "cp package.json dist",
"test": "flecks test" "test": "flecks test"
}, },
"files": [ "files": [

View File

@ -8,6 +8,7 @@
"build": "flecks build", "build": "flecks build",
"clean": "flecks clean", "clean": "flecks clean",
"lint": "flecks lint", "lint": "flecks lint",
"postversion": "cp package.json dist",
"test": "flecks test" "test": "flecks test"
}, },
"files": [ "files": [

View File

@ -10,6 +10,7 @@
"build": "flecks build", "build": "flecks build",
"clean": "flecks clean", "clean": "flecks clean",
"lint": "flecks lint", "lint": "flecks lint",
"postversion": "cp package.json dist",
"test": "flecks test" "test": "flecks test"
}, },
"files": [ "files": [

View File

@ -9,6 +9,7 @@
"build": "flecks build", "build": "flecks build",
"clean": "flecks clean", "clean": "flecks clean",
"lint": "flecks lint", "lint": "flecks lint",
"postversion": "cp package.json dist",
"test": "flecks test" "test": "flecks test"
}, },
"files": [ "files": [

View File

@ -9,6 +9,7 @@
"build": "flecks build", "build": "flecks build",
"clean": "flecks clean", "clean": "flecks clean",
"lint": "flecks lint", "lint": "flecks lint",
"postversion": "cp package.json dist",
"test": "flecks test" "test": "flecks test"
}, },
"files": [ "files": [