You've already forked tf2wikipricing
chore: rename package (again), use display name field
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "TF2 Wiki Pricing",
|
"name": "tf2wikipricing",
|
||||||
|
"displayName": "TF2 Wiki Pricing",
|
||||||
"version": "0.7.1",
|
"version": "0.7.1",
|
||||||
"description": "Adds item pricing to the Team Fortress 2 wiki",
|
"description": "Adds item pricing to the Team Fortress 2 wiki",
|
||||||
"author": "rapture.party",
|
"author": "rapture.party",
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ function allReplace(str, obj, quote = true) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const defines = {
|
const defines = {
|
||||||
EXTENSION_NAME: package.name,
|
EXTENSION_NAME: package.displayName,
|
||||||
__EXTENSION_NAME: JSON.stringify(package.name),
|
__EXTENSION_NAME: JSON.stringify(package.name),
|
||||||
EXTENSION_AUTHOR: package.author,
|
EXTENSION_AUTHOR: package.author,
|
||||||
EXTENSION_DESCRIPTION: package.description,
|
EXTENSION_DESCRIPTION: package.description,
|
||||||
@@ -139,7 +139,7 @@ module.exports = [
|
|||||||
devtool: false,
|
devtool: false,
|
||||||
output: {
|
output: {
|
||||||
path: path.resolve(__dirname, 'dist/userscript'),
|
path: path.resolve(__dirname, 'dist/userscript'),
|
||||||
filename: `tf2wikipricing.user.js`
|
filename: `${package.name}.user.js`
|
||||||
},
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
extensions: [".ts", ".tsx", ".js", ".json", ".css"]
|
extensions: [".ts", ".tsx", ".js", ".json", ".css"]
|
||||||
|
|||||||
Reference in New Issue
Block a user