2.0.1 • Published 3 years ago

alpha-scripts v2.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
3 years ago

alpha-scripts

This is a fork of react-scripts with some modifications that can toggle extra features.

USE

Install

Install with npm:

npm install --save-dev alpha-scripts

Install with yarn:

yarn add alpha-scripts --dev

Run

Runs the app in development mode:

alpha-scripts start

Builds the app for production to the build folder:

alpha-scripts build

You can also config the "scripts" property of the package.json file.

Options

You can pass options using a configuration file .alpharc.js in the root directory and export an object containing your configuration.

analyzer (default: false)

This option will enable analyzer, only in production mode, will open analyzer result in http://localhost:1234 .eslintrc.* files.

eslintrc (default: false)

This option will enable eslint using configuration defined in .eslintrc.* files.

eslintConfigPath

This option set eslint configuration file path.

babelrc (default: false)

This option will enable the use of .babelrc configuration files.

modules

add directories for webpack to resolve modules from, see webpack resolve.modules

modules: ['components'];

alias

set resolve aliases, see webpack resolve.alias

proxy

proxying API requests in development

plugins

allow additional webpack plugins. See plugins page for detail.

mockOptions

specify the options for mock data, more

openPathname

specify the default open pathname in development

openPathname: '/homepage';

theme

override less variables via less-loader modifyVars

theme: {
  'primary-color': '#1DA57A',
},

includePaths

paths for babel-loader to resolve

watchIgnored

specify watch ignore files and/or directories watchOptions.ignored

Note:

If you want to override @icon-url, the value must be contained in quotes like "@icon-url": "'your-icon-font-path'". A fix sample.


License

2.0.1

3 years ago

2.0.0

3 years ago

2.0.0-beta.13

4 years ago

2.0.0-beta.12

4 years ago

1.6.2

4 years ago

1.6.3-test

4 years ago

1.6.2-test

4 years ago

2.0.11-beta

4 years ago

2.0.10-beta

4 years ago

2.0.9-beta

4 years ago

2.0.8-test

4 years ago

2.0.7-alpha

4 years ago

2.0.7-test

4 years ago

2.0.6-beta

4 years ago

2.0.5-beta

4 years ago

2.0.4-beta

4 years ago

2.0.3-beta

4 years ago

2.0.2-beta

4 years ago

2.0.1-beta

4 years ago

2.0.0-beta

5 years ago

1.6.1

5 years ago

1.6.0

5 years ago

1.5.1

5 years ago

1.4.2

5 years ago

1.5.0

5 years ago

1.4.1

6 years ago

1.4.0

6 years ago

1.3.0

6 years ago

1.2.0

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago