change `main` property to `scripts`