Skip to content
This repository was archived by the owner on Sep 13, 2022. It is now read-only.

Conversation

@hammydown4325
Copy link
Contributor

npm install
npm run build

This version now comes with javascript obfuscation in it to better protect. It also has antidebug built into it. If you want to read more about it and some of the config options you can add to it look at https://github.com/javascript-obfuscator/javascript-obfuscator#javascript-obfuscator-options.

For those of you doing dev work you will need to use npm run dev to see the map without obfuscation.

Copy link
Owner

@Glennmen Glennmen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a couple comments for you ;)

Gruntfile.js Outdated
// load plugins as needed instead of up front
require('jit-grunt')(grunt);
require('phplint').gruntPlugin(grunt);
grunt.loadNpmTasks('grunt-contrib-obfuscator');
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this line is needed, we use jit-grint: https://www.npmjs.com/package/jit-grunt

Gruntfile.js Outdated
'static/dist/data/pokemon.min.json': 'static/data/pokemon.json',
'static/dist/data/moves.min.json': 'static/data/moves.json',
'static/dist/data/mapstyle.min.json': 'static/data/mapstyle.json',
'static/dist/data/raid-boss.min.json': 'static/data/raid-boss.json',
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file doesn't exist.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants