UNPKG

604 BPlain TextView Raw
1node_modules/@financial-times/n-gage/index.mk:
2 npm install --no-save --no-package-lock @financial-times/n-gage
3 touch $@
4
5-include node_modules/@financial-times/n-gage/index.mk
6
7run:
8 @echo Protip: This uses the hot reloading feature with Webpack and React
9 @echo Edit the JS or CSS file and you should see the change applied in the browser without any reload
10 @webpack-dev-server --hot --content-base demos --port 5050 --host local.ft.com
11
12test: verify unit-test
13 @$(DONE)
14
15unit-test:
16 @mocha --require test/setup 'test/**/*.spec.js'
17 @$(DONE)
18
19a11y:
20
21demo: run
22
23gh-pages:
24 @sh ./gh-pages.sh
25 @$(DONE)